summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qnodebug
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-02-23 11:24:04 +0100
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-02-23 11:24:07 +0100
commitd34353a065c443aac20376cbd88323480d769183 (patch)
treeda5d86b51c2cf7023356551c4c980849b35bab14 /tests/auto/corelib/io/qnodebug
parent4e40b1952695f0b1086ef7b88e8514bd18cf96bf (diff)
parent571908f7fc8f5e4ef9a4dfd90102566f6f0fcad2 (diff)
Merge dev into 5.5
Diffstat (limited to 'tests/auto/corelib/io/qnodebug')
-rw-r--r--tests/auto/corelib/io/qnodebug/tst_qnodebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/io/qnodebug/tst_qnodebug.cpp b/tests/auto/corelib/io/qnodebug/tst_qnodebug.cpp
index 12a67be213..5ece9190a5 100644
--- a/tests/auto/corelib/io/qnodebug/tst_qnodebug.cpp
+++ b/tests/auto/corelib/io/qnodebug/tst_qnodebug.cpp
@@ -70,7 +70,7 @@ void tst_QNoDebug::streaming() const
{
QDateTime dt(QDate(1,2,3),QTime(4,5,6));
const QString debugString = dt.toString(QStringLiteral("yyyy-MM-dd HH:mm:ss.zzz t"));
- QTest::ignoreMessage(QtWarningMsg, qPrintable(QString::asprintf("QDateTime(\"%1\" Qt::TimeSpec(LocalTime))").arg(debugString)));
+ QTest::ignoreMessage(QtWarningMsg, qPrintable(QString::fromLatin1("QDateTime(%1 Qt::TimeSpec(LocalTime))").arg(debugString)));
qWarning() << dt;
}