diff --git a/src/plugins/backends/snoretoast/snoretoast.cpp b/src/plugins/backends/snoretoast/snoretoast.cpp index 86b657c..2f5a5a3 100644 --- a/src/plugins/backends/snoretoast/snoretoast.cpp +++ b/src/plugins/backends/snoretoast/snoretoast.cpp @@ -145,7 +145,7 @@ QString SnoreToast::appId(const Application &application) appID = application.constHints().value("windows_app_id").toString(); } if (appID.isEmpty()) { - appID = (qApp->organizationName() + QLatin1Char(".") + qApp->applicationName() + QLatin1String(".SnoreToast")).remove(QLatin1Char(' ')); + appID = QString(qApp->organizationName() + QLatin1Char('.') + qApp->applicationName() + QLatin1String(".SnoreToast")).remove(QLatin1Char(' ')); } return appID; } diff --git a/src/plugins/frontends/snarlnetwork/snarlnetwork.cpp b/src/plugins/frontends/snarlnetwork/snarlnetwork.cpp index 9cc1e92..2422af4 100644 --- a/src/plugins/frontends/snarlnetwork/snarlnetwork.cpp +++ b/src/plugins/frontends/snarlnetwork/snarlnetwork.cpp @@ -108,7 +108,7 @@ void SnarlNetworkFrontend::handleMessages() if (noti.isValid()) { noti.addActiveIn(this); SnoreCore::instance().broadcastNotification(noti); - write(client, out + QLatin1Char("/") + QString::number(noti.id()) + QLatin1String("\r\n")); + write(client, out + QLatin1Char('/') + QString::number(noti.id()) + QLatin1String("\r\n")); } else { write(client, out + QLatin1String("\r\n")); }