fix strings
This commit is contained in:
parent
95cc073b5e
commit
ba8e6bde21
|
@ -145,7 +145,7 @@ QString SnoreToast::appId(const Application &application)
|
||||||
appID = application.constHints().value("windows_app_id").toString();
|
appID = application.constHints().value("windows_app_id").toString();
|
||||||
}
|
}
|
||||||
if (appID.isEmpty()) {
|
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;
|
return appID;
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,7 +108,7 @@ void SnarlNetworkFrontend::handleMessages()
|
||||||
if (noti.isValid()) {
|
if (noti.isValid()) {
|
||||||
noti.addActiveIn(this);
|
noti.addActiveIn(this);
|
||||||
SnoreCore::instance().broadcastNotification(noti);
|
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 {
|
} else {
|
||||||
write(client, out + QLatin1String("\r\n"));
|
write(client, out + QLatin1String("\r\n"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue