aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ruleparser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ruleparser.cpp b/src/ruleparser.cpp
index c59b44b..3297d77 100644
--- a/src/ruleparser.cpp
+++ b/src/ruleparser.cpp
@@ -121,8 +121,7 @@ void Rules::load()
match = Match();
match.rx = QRegExp(matchLine.cap(1), Qt::CaseSensitive, QRegExp::RegExp2);
} else {
- qWarning() << "Malformed line in configure file:" << origLine;
- state = ReadingNone;
+ qFatal("Malformed line in rules file: %s", qPrintable(origLine));
}
}
}