summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmessagebox/tst_qmessagebox.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-05-11 10:49:32 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-05-11 13:13:40 (GMT)
commit814f7d3d607edacca091273302297b6b2674424f (patch)
treee4856f48032b5da15f4008e0acc6dbf09310c1e2 /tests/auto/qmessagebox/tst_qmessagebox.cpp
parentfd252f78e907bb998fc654c0332cfd2adfaf8b1e (diff)
downloadQt-814f7d3d607edacca091273302297b6b2674424f.zip
Qt-814f7d3d607edacca091273302297b6b2674424f.tar.gz
Qt-814f7d3d607edacca091273302297b6b2674424f.tar.bz2
Fix compiler warning in QT_REQUIRE_VERSION
warning: format not a string literal and no format arguments Task-number: QTBUG-8967 Reviewed-by: Gabriel
Diffstat (limited to 'tests/auto/qmessagebox/tst_qmessagebox.cpp')
-rw-r--r--tests/auto/qmessagebox/tst_qmessagebox.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qmessagebox/tst_qmessagebox.cpp b/tests/auto/qmessagebox/tst_qmessagebox.cpp
index 2de1c52..d4ca064 100644
--- a/tests/auto/qmessagebox/tst_qmessagebox.cpp
+++ b/tests/auto/qmessagebox/tst_qmessagebox.cpp
@@ -140,6 +140,8 @@ private:
tst_QMessageBox::tst_QMessageBox() : keyToSend(-1)
{
+ int argc = qApp->argc();
+ QT_REQUIRE_VERSION(argc, qApp->argv(), "4.6.2")
}
int tst_QMessageBox::exec(QMessageBox *msgBox, int key)