Remove obsolete autotest command-line flag.
authorJason McDonald <jason.mcdonald@nokia.com>
Fri, 26 Aug 2011 07:43:55 +0000 (17:43 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 29 Aug 2011 04:48:48 +0000 (06:48 +0200)
The charting functionality was removed in Qt 4.6, though the
command-line option was retained to print a warning that the feature had
been removed.  Sufficient time has passed for this to be removed
completely.

Change-Id: I2adf2818c6a6e57e765104de97b28dbf6914e3fa
Reviewed-on: http://codereview.qt.nokia.com/3638
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
src/testlib/qtestcase.cpp

index d71fb90..161c46e 100644 (file)
@@ -1223,8 +1223,6 @@ Q_TESTLIB_EXPORT void qtest_qParseArgs(int argc, char *argv[], bool qml)
 
         } else if (strcmp(argv[i], "-vb") == 0) {
             QBenchmarkGlobalData::current->verboseOutput = true;
-        } else if (strcmp(argv[i], "-chart") == 0) {
-            fprintf(stderr, "Warning: `-chart' option is not available\n");
         } else if (strcmp(argv[i], "-qws") == 0) {
             // do nothing
         } else if (strcmp(argv[i], "-graphicssystem") == 0) {