aboutsummaryrefslogtreecommitdiffstats
path: root/src/ruleparser.cpp
diff options
context:
space:
mode:
authorTorgny Nyblom <kde@nyblom.org>2010-12-16 09:49:04 +0100
committerTorgny Nyblom <kde@nyblom.org>2010-12-16 09:49:04 +0100
commit7dbe4e29789e76198ea63a004dbbe7d8e1ee72e9 (patch)
treee33231cf6e3d0c7f8ea8702e45c3aafd31d8554e /src/ruleparser.cpp
parentae4fa7288cbfd27296186c85206966461fa20db6 (diff)
downloadsvn2git-7dbe4e29789e76198ea63a004dbbe7d8e1ee72e9.tar
svn2git-7dbe4e29789e76198ea63a004dbbe7d8e1ee72e9.tar.gz
svn2git-7dbe4e29789e76198ea63a004dbbe7d8e1ee72e9.tar.bz2
svn2git-7dbe4e29789e76198ea63a004dbbe7d8e1ee72e9.tar.xz
svn2git-7dbe4e29789e76198ea63a004dbbe7d8e1ee72e9.zip
Be more clear about what are warnings
Diffstat (limited to 'src/ruleparser.cpp')
-rw-r--r--src/ruleparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ruleparser.cpp b/src/ruleparser.cpp
index f7d201c..6b23d94 100644
--- a/src/ruleparser.cpp
+++ b/src/ruleparser.cpp
@@ -306,7 +306,7 @@ void Stats::Private::ruleMatched(const Rules::Match &rule, const int rev)
const QString name = rule.info();
if(!m_usedRules.contains(name)) {
m_usedRules.insert(name, 1);
- qWarning() << "New match rule, should have been added when created.";
+ qWarning() << "WARN: New match rule, should have been added when created.";
} else {
m_usedRules[name]++;
}
@@ -316,7 +316,7 @@ void Stats::Private::addRule( const Rules::Match &rule)
{
const QString name = rule.info();
if(m_usedRules.contains(name))
- qWarning() << "Rule" << name << "was added multiple times.";
+ qWarning() << "WARN: Rule" << name << "was added multiple times.";
m_usedRules.insert(name, 0);
}