From 7b2312f8ced3c975139c56ea4678a8485def43de Mon Sep 17 00:00:00 2001 From: RigoLigoRLC Date: Sun, 20 Feb 2022 18:19:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=A1=8C=E9=9D=A2=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=B6=88=E6=81=AF=E4=B8=AD=E9=94=99=E8=AF=AF=E7=9A=84?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E7=A8=8B=E5=BA=8F=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/spklogging.cpp | 2 +- src/spkuimsg.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/spklogging.cpp b/src/spklogging.cpp index 3ad7953..86b0f42 100644 --- a/src/spklogging.cpp +++ b/src/spklogging.cpp @@ -16,7 +16,7 @@ SpkLogger::SpkLogger(QString suggestPath) Initialize(suggestPath); // Initialize libnotify - if(!notify_init(QObject::tr("Spark\\ Store").toLocal8Bit())) + if(!notify_init(QObject::tr("Spark Store").toLocal8Bit())) { sErrPop(QObject::tr("libnotify failed to initialize. " "Desktop notifications will not work.")); diff --git a/src/spkuimsg.cpp b/src/spkuimsg.cpp index 1befc87..b6609f1 100644 --- a/src/spkuimsg.cpp +++ b/src/spkuimsg.cpp @@ -9,14 +9,14 @@ void SpkUiMessage::SendDesktopNotification(QString s, const char * const icon) { if(_notify == nullptr) { - _notify = notify_notification_new(tr("Spark\\ Store").toLocal8Bit(), + _notify = notify_notification_new(tr("Spark Store").toLocal8Bit(), s.toLocal8Bit(), icon); notify_notification_set_timeout(_notify, mTimeoutDesktop); } else { - notify_notification_update(_notify, tr("Spark\\ Store").toLocal8Bit(), + notify_notification_update(_notify, tr("Spark Store").toLocal8Bit(), s.toLocal8Bit(), icon); }