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());