diff options
author | saturneric <[email protected]> | 2023-10-15 08:17:28 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-10-15 08:17:28 +0000 |
commit | c1a5fff98cab4adf04210ba8120459b8e87a8fa3 (patch) | |
tree | 0c46d986628b1b910a3affbadf196e234a68c34d /src/ui/thread/ProxyConnectionTestTask.cpp | |
parent | feat: support flatpack build and install (diff) | |
download | GpgFrontend-c1a5fff98cab4adf04210ba8120459b8e87a8fa3.tar.gz GpgFrontend-c1a5fff98cab4adf04210ba8120459b8e87a8fa3.zip |
fix: solve some issues on linux .desktop file
Diffstat (limited to '')
-rw-r--r-- | src/ui/thread/ProxyConnectionTestTask.cpp | 2 |
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); |