mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-17 01:21:36 +08:00
增加dbus文件,再次启动的时候会唤起第一个进程
并且处理spark打开
This commit is contained in:
@@ -64,6 +64,7 @@ public:
|
||||
static void sendNotification(const QString &message, const int msTimeout = 5000, const QString &icon = "spark-store");
|
||||
static void sendNotification(const char *message, const int msTimeout = 5000, const QString &icon = "spark-store");
|
||||
|
||||
void initDbus();
|
||||
private slots:
|
||||
|
||||
void httpFinished();
|
||||
@@ -103,6 +104,9 @@ private slots:
|
||||
void on_pushButton_refresh_clicked();
|
||||
void on_pushButton_update_clicked();
|
||||
|
||||
//接受来自dbus的url
|
||||
void onGetUrl(const QString &url);
|
||||
|
||||
public:
|
||||
QUrl url;
|
||||
QString cdnSeverUrl;
|
||||
|
||||
Reference in New Issue
Block a user