From 8c08b7e995935a999ca463bf026568bde3c6e0a8 Mon Sep 17 00:00:00 2001 From: shenmo Date: Sun, 9 Oct 2022 10:41:48 +0000 Subject: [PATCH] update src/widget.cpp. Signed-off-by: shenmo --- src/widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget.cpp b/src/widget.cpp index 910615d..ed8846e 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -1128,7 +1128,7 @@ void Widget::on_pushButton_uninstall_clicked() QProcess uninstall; uninstall.start("pkexec", QStringList() << "apt" << "purge" << "-y" << pkgName.toLower()); - uninstall.waitForFinished(180); // 默认超时 3 分钟 + uninstall.waitForFinished(-1); // 默认无限时长 QProcess check; check.start("dpkg", QStringList() << "-s" << pkgName.toLower());