mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-16 17:11:37 +08:00
feat: 使用dbus支持kde的暗色模式
This commit is contained in:
@@ -30,6 +30,8 @@ public:
|
||||
void openUrl(const QString &url);
|
||||
|
||||
bool isCloseWindowAnimation();
|
||||
void refreshTheme(bool isDarkMode);
|
||||
|
||||
|
||||
protected:
|
||||
void closeEvent(QCloseEvent *event) override;
|
||||
@@ -48,6 +50,7 @@ private:
|
||||
|
||||
public slots:
|
||||
void notify(QObject *receiver, QEvent *event);
|
||||
void onThemeChanged(bool isDark);
|
||||
|
||||
private slots:
|
||||
//接受来自dbus的url
|
||||
|
||||
Reference in New Issue
Block a user