aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/thread/ProxyConnectionTestTask.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-15 08:17:28 +0000
committersaturneric <[email protected]>2023-10-15 08:17:28 +0000
commitc1a5fff98cab4adf04210ba8120459b8e87a8fa3 (patch)
tree0c46d986628b1b910a3affbadf196e234a68c34d /src/ui/thread/ProxyConnectionTestTask.cpp
parentfeat: support flatpack build and install (diff)
downloadGpgFrontend-c1a5fff98cab4adf04210ba8120459b8e87a8fa3.tar.gz
GpgFrontend-c1a5fff98cab4adf04210ba8120459b8e87a8fa3.zip
fix: solve some issues on linux .desktop file
Diffstat (limited to '')
-rw-r--r--src/ui/thread/ProxyConnectionTestTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/thread/ProxyConnectionTestTask.cpp b/src/ui/thread/ProxyConnectionTestTask.cpp
index c7d623d7..d32bf2be 100644
--- a/src/ui/thread/ProxyConnectionTestTask.cpp
+++ b/src/ui/thread/ProxyConnectionTestTask.cpp
@@ -34,7 +34,7 @@ GpgFrontend::UI::ProxyConnectionTestTask::ProxyConnectionTestTask(QString url,
network_manager_(new QNetworkAccessManager(this)) {}
void GpgFrontend::UI::ProxyConnectionTestTask::run() {
- SetFinishAfterRun(false);
+ HoldOnLifeCycle(true);
auto* network_reply = network_manager_->get(QNetworkRequest{url_});
auto* timer = new QTimer(this);