diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-05-11 10:49:32 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-05-11 13:13:40 (GMT) |
commit | 814f7d3d607edacca091273302297b6b2674424f (patch) | |
tree | e4856f48032b5da15f4008e0acc6dbf09310c1e2 /src/gui/dialogs | |
parent | fd252f78e907bb998fc654c0332cfd2adfaf8b1e (diff) | |
download | Qt-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 'src/gui/dialogs')
-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 bc6170d..f1ff6cc 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 |