mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 12:52:04 +08:00
update:引入QScreen
This commit is contained in:
@@ -23,7 +23,6 @@ AppDelegate::AppDelegate(QObject *parent)
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
connect(m_downloadManager, &DownloadManager::downloadProgress, this,
|
||||
[this](const QString &packageName, int progress) {
|
||||
if (m_downloads.contains(packageName)) {
|
||||
@@ -290,7 +289,6 @@ void AppDelegate::startNextInstall() {
|
||||
m_installingPackage.clear();
|
||||
startNextInstall();
|
||||
});
|
||||
|
||||
} else {
|
||||
// 日志文件无法打开时,仍然要连接原有信号
|
||||
connect(m_installProcess, &QProcess::readyReadStandardOutput, this, [this, packageName]() {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "appdelegate.h"
|
||||
#include <QListView>
|
||||
#include <QJsonArray> // 添加头文件
|
||||
|
||||
#include <QScreen>
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
|
||||
Reference in New Issue
Block a user