diff logparser.cpp @ 108:8ae3b44c0073

* Enable/disable update and merge actions depending on whether default update and merge will actually do anything
author Chris Cannam
date Thu, 25 Nov 2010 21:08:17 +0000
parents 10eb97683aa9
children 8fd71f570884
line wrap: on
line diff
--- a/logparser.cpp	Thu Nov 25 20:18:10 2010 +0000
+++ b/logparser.cpp	Thu Nov 25 21:08:17 2010 +0000
@@ -36,7 +36,7 @@
 LogList LogParser::parse()
 {
     LogList results;
-    QRegExp re(QString("^(\\w+)\\s*%1\\s+(.*)$").arg(m_sep));
+    QRegExp re(QString("^(\\w+)\\s*%1\\s+([^\\s].*)$").arg(m_sep));
     QStringList entries = split();
     foreach (QString entry, entries) {
         LogEntry dictionary;