From e5f528fb0ea09ec839853575c1154f9101303a84 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 8 Oct 2014 12:45:32 +0200 Subject: Don't stream QStringLiterals into QDebug Normal (C) string literals do just as well and use more than twice less space in the DATA section. Change-Id: Iafb0682a362c41dfd5b4d8b9137d88014d7992a2 Reviewed-by: Thiago Macieira --- src/corelib/tools/qtimezone.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/tools/qtimezone.cpp') diff --git a/src/corelib/tools/qtimezone.cpp b/src/corelib/tools/qtimezone.cpp index 99061ea6ea..8f3db74131 100644 --- a/src/corelib/tools/qtimezone.cpp +++ b/src/corelib/tools/qtimezone.cpp @@ -954,7 +954,7 @@ QDataStream &operator>>(QDataStream &ds, QTimeZone &tz) QDebug operator<<(QDebug dbg, const QTimeZone &tz) { //TODO Include backend and data version details? - dbg.nospace() << QStringLiteral("QTimeZone(") << qPrintable(QString::fromUtf8(tz.id())) << ')'; + dbg.nospace() << "QTimeZone(" << QString::fromUtf8(tz.id()) << ')'; return dbg.space(); } #endif -- cgit v1.2.3