[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/libs/qjson/tests
From: Flavio Castelli <flavio.castelli () gmail ! com>
Date: 2009-07-23 7:17:48
Message-ID: 1248333468.304157.442.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1001402 by micron:
fixed cmdline_tester, it was still using the old API
M +3 -3 cmdline_tester.cpp
--- trunk/playground/libs/qjson/tests/cmdline_tester.cpp #1001401:1001402
@@ -43,11 +43,11 @@
}
Parser driver;
- bool status;
+ bool ok;
QFile file (filename);
- QVariant data = driver.parse (&file, &status);
- if (status) {
+ QVariant data = driver.parse (&file, &ok);
+ if (!ok) {
qCritical("%s:%i - Error: %s", filename.toLatin1().data(), driver.errorLine(), \
qPrintable(driver.errorString())); exit (1);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic