Fix msvc build
This commit is contained in:
parent
30da52eea7
commit
9a8752ad09
|
@ -20,13 +20,13 @@ public:
|
|||
instance.setSettingsValue(QStringLiteral("Timeout"), 1, LOCAL_SETTING);
|
||||
}
|
||||
|
||||
QString htmlTestString = QStringLiteral("<i>Italic A</i><br>"
|
||||
"<i>Italic B</i><br>"
|
||||
"<b>Bold</b><br>"
|
||||
"<u>Underline</u><br>"
|
||||
"<font color=\"blue\">Font</font><br>"
|
||||
"<&><br>"
|
||||
"<a href=\"https://github.com/Snorenotify/Snorenotify\">Website</a><br>");
|
||||
QString htmlTestString = QLatin1String("<i>Italic A</i><br>"
|
||||
"<i>Italic B</i><br>"
|
||||
"<b>Bold</b><br>"
|
||||
"<u>Underline</u><br>"
|
||||
"<font color=\"blue\">Font</font><br>"
|
||||
"<&><br>"
|
||||
"<a href=\"https://github.com/Snorenotify/Snorenotify\">Website</a><br>");
|
||||
|
||||
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());
|
||||
|
|
Loading…
Reference in New Issue