mirror of
https://github.com/status-im/snorenotify.git
synced 2025-02-18 11:17:21 +00:00
Fix msvc build
This commit is contained in:
parent
30da52eea7
commit
9a8752ad09
@ -20,7 +20,7 @@ public:
|
|||||||
instance.setSettingsValue(QStringLiteral("Timeout"), 1, LOCAL_SETTING);
|
instance.setSettingsValue(QStringLiteral("Timeout"), 1, LOCAL_SETTING);
|
||||||
}
|
}
|
||||||
|
|
||||||
QString htmlTestString = QStringLiteral("<i>Italic A</i><br>"
|
QString htmlTestString = QLatin1String("<i>Italic A</i><br>"
|
||||||
"<i>Italic B</i><br>"
|
"<i>Italic B</i><br>"
|
||||||
"<b>Bold</b><br>"
|
"<b>Bold</b><br>"
|
||||||
"<u>Underline</u><br>"
|
"<u>Underline</u><br>"
|
||||||
@ -85,7 +85,7 @@ void SnoreBenchmark::benchmarkNotifications()
|
|||||||
});
|
});
|
||||||
|
|
||||||
Application app = SnoreCorePrivate::instance()->defaultApplication();
|
Application app = SnoreCorePrivate::instance()->defaultApplication();
|
||||||
// QBENCHMARK_ONCE{
|
// QBENCHMARK_ONCE{
|
||||||
for (int i = 0; i < 100; ++i) {
|
for (int i = 0; i < 100; ++i) {
|
||||||
QString number = QString::number(i);
|
QString number = QString::number(i);
|
||||||
Notification n(app, app.defaultAlert(), QLatin1String("Test ") + number, QLatin1String("Message ") + number, app.icon());
|
Notification n(app, app.defaultAlert(), QLatin1String("Test ") + number, QLatin1String("Message ") + number, app.icon());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user