summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs
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 /src/gui/dialogs
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 'src/gui/dialogs')
-rw-r--r--src/gui/dialogs/qmessagebox.h2
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