diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-05-11 10:49:32 (GMT) |
---|---|---|
committer | Samuli Piippo <samuli.piippo@digia.com> | 2011-06-09 10:05:55 (GMT) |
commit | 9c8458889b6d4bc6d1674737fccb0d0d61354500 (patch) | |
tree | c2a5c58aabd6c0a2971eb0cd1115a34b89276d3f /tests/auto | |
parent | 649237c04bc76026d681d5f764feb1b3be634d83 (diff) | |
download | Qt-9c8458889b6d4bc6d1674737fccb0d0d61354500.zip Qt-9c8458889b6d4bc6d1674737fccb0d0d61354500.tar.gz Qt-9c8458889b6d4bc6d1674737fccb0d0d61354500.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
(cherry picked from commit 814f7d3d607edacca091273302297b6b2674424f)
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qmessagebox/tst_qmessagebox.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qmessagebox/tst_qmessagebox.cpp b/tests/auto/qmessagebox/tst_qmessagebox.cpp index d536c0b..45cf1e9 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) |