fix: 超时时间错误

This commit is contained in:
2022-12-13 12:52:45 +08:00
parent 292d4aa5c9
commit 09f96d596a
2 changed files with 5 additions and 5 deletions

View File

@@ -166,7 +166,7 @@ void DownloadItem::install(int t)
QProcess isInstall;
isInstall.start("dpkg -s " + pkgName);
isInstall.waitForFinished(180); // 默认超时 3 分钟
isInstall.waitForFinished(180*1000); // 默认超时 3 分钟
int error = QString::fromStdString(isInstall.readAllStandardError().toStdString()).length();
if(error == 0)
{