update:引入QScreen

This commit is contained in:
2025-08-29 21:28:22 +08:00
parent dd11831dfa
commit e5217b3829
2 changed files with 1 additions and 3 deletions

View File

@@ -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]() {

View File

@@ -7,7 +7,7 @@
#include "appdelegate.h"
#include <QListView>
#include <QJsonArray> // 添加头文件
#include <QScreen>
QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;