mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-14 02:52:03 +08:00
修复未发布版本打包器和wine下载工具的异线程修改UI的问题
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
class DownloadThread : public QThread // 继承 QThread
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
DownloadThread(QProgressDialog *dialog, QString url, QString save, QString fileName, QListView *view, bool deleteZip, bool unzip, QJsonArray *localList);
|
||||
void SettingVirtualMachine(QString savePath);
|
||||
@@ -32,6 +33,8 @@ signals:
|
||||
// 防止非主线程刷新控件导致程序退出
|
||||
void MessageBoxInfo(QString info);
|
||||
void MessageBoxError(QString info);
|
||||
void ChangeDialog(QProgressDialog *dialog, int value, int downloadBytes, int totalBytes);
|
||||
void Finish();
|
||||
};
|
||||
|
||||
#endif // DOWNLOADTHREAD_H
|
||||
|
||||
Reference in New Issue
Block a user