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 /src | |
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 'src')
-rw-r--r-- | src/gui/dialogs/qmessagebox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogs/qmessagebox.h b/src/gui/dialogs/qmessagebox.h index d3617b7..25788e3 100644 --- a/src/gui/dialogs/qmessagebox.h +++ b/src/gui/dialogs/qmessagebox.h @@ -354,7 +354,7 @@ if (!qApp){ \ QString s = QApplication::tr("Executable '%1' requires Qt "\ "%2, found Qt %3.").arg(qAppName()).arg(QString::fromLatin1(\ str)).arg(QString::fromLatin1(qVersion())); QMessageBox::critical(0, QApplication::tr(\ -"Incompatible Qt Library Error"), s, QMessageBox::Abort, 0); qFatal(s.toLatin1().data()); }} +"Incompatible Qt Library Error"), s, QMessageBox::Abort, 0); qFatal("%s", s.toLatin1().data()); }} #endif // QT_NO_MESSAGEBOX |