From 9a8752ad094735d95d5ae33f071c93f5c56018a0 Mon Sep 17 00:00:00 2001 From: Hannah von Reth Date: Fri, 27 Nov 2015 14:50:59 +0100 Subject: [PATCH] Fix msvc build --- autotest/snorebenchmark.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/autotest/snorebenchmark.cpp b/autotest/snorebenchmark.cpp index 6e7206a..b9e8503 100644 --- a/autotest/snorebenchmark.cpp +++ b/autotest/snorebenchmark.cpp @@ -20,13 +20,13 @@ public: instance.setSettingsValue(QStringLiteral("Timeout"), 1, LOCAL_SETTING); } - QString htmlTestString = QStringLiteral("Italic A
" - "Italic B
" - "Bold
" - "Underline
" - "Font
" - "<&>
" - "Website
"); + QString htmlTestString = QLatin1String("Italic A
" + "Italic B
" + "Bold
" + "Underline
" + "Font
" + "<&>
" + "Website
"); private Q_SLOTS: void benchmarkUtilsToHtml(); @@ -85,7 +85,7 @@ void SnoreBenchmark::benchmarkNotifications() }); Application app = SnoreCorePrivate::instance()->defaultApplication(); -// QBENCHMARK_ONCE{ + // QBENCHMARK_ONCE{ for (int i = 0; i < 100; ++i) { QString number = QString::number(i); Notification n(app, app.defaultAlert(), QLatin1String("Test ") + number, QLatin1String("Message ") + number, app.icon());