aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/function/VersionCheckThread.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-04 12:34:05 +0000
committerSaturneric <[email protected]>2022-01-04 12:34:40 +0000
commit22308b720a2c03b69d07cf3133c34b40d04c5904 (patch)
tree215cb56c3f2c83507cffbf19b6398562330e0bae /src/ui/function/VersionCheckThread.cpp
parent<fix, refactor>(core, ui): fixed known bugs for v2.0.4-beta.1. (diff)
downloadGpgFrontend-22308b720a2c03b69d07cf3133c34b40d04c5904.tar.gz
GpgFrontend-22308b720a2c03b69d07cf3133c34b40d04c5904.zip
<feature, fix, refactor>(core, ui): fixed known bugs for v2.0.4-beta.1 and add network settings.
1. proxy settings. 2. network capability. 3. fixed known bugs. 4. improve ui.
Diffstat (limited to '')
-rw-r--r--src/ui/function/VersionCheckThread.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/function/VersionCheckThread.cpp b/src/ui/function/VersionCheckThread.cpp
index bfd6ea46..2a1cf9af 100644
--- a/src/ui/function/VersionCheckThread.cpp
+++ b/src/ui/function/VersionCheckThread.cpp
@@ -89,6 +89,8 @@ void VersionCheckThread::run() {
version.release_note = release_note;
}
+ _reply->deleteLater();
+
_reply = manager->get(current_request);
while (_reply->isRunning()) QApplication::processEvents();
current_reply_bytes_ = _reply->readAll();
@@ -104,6 +106,7 @@ void VersionCheckThread::run() {
version.latest_prerelease = current_prerelease;
version.latest_draft = current_draft;
}
+ _reply->deleteLater();
// loading done
version.load_info_done = true;