新增了SpkAppItem,更改style型对象名,修复侧边栏bug

This commit is contained in:
RigoLigoRLC
2021-08-18 16:44:05 +08:00
parent d49917c6fb
commit f6baf41306
16 changed files with 150 additions and 44 deletions

View File

@@ -24,9 +24,11 @@ void SpkUiMessage::SendDesktopNotification(QString s, const char * const icon)
notify_notification_show(_notify, nullptr);
}
void SpkUiMessage::SendStoreNotification(QString s) // TODO: IMPLEMENT IN-APP NOTIFICATION
void SpkUiMessage::SendStoreNotification(QString s)
{
SpkUi::Popup->Show(s);
// I don't really understand these measures of preventing copying really well,
// but Clang-tidy said so, so I did as instructed.
SpkUi::Popup->Show(std::move(s));
}
void SpkUiMessage::SetDesktopNotifyTimeout(int ms)