diff options
author | Saturneric <[email protected]> | 2021-07-19 10:03:21 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-07-19 10:03:21 +0000 |
commit | 3d8c8f3c4550d88d1bb16bda003c88fc69e6acc5 (patch) | |
tree | 84a2ccc18a1d1b6e536b6090841b5aeae617298f /src/ui/help/VersionCheckThread.cpp | |
parent | Improve the function of sending mail; (diff) | |
download | GpgFrontend-3d8c8f3c4550d88d1bb16bda003c88fc69e6acc5.tar.gz GpgFrontend-3d8c8f3c4550d88d1bb16bda003c88fc69e6acc5.zip |
Improved and Modified.
Diffstat (limited to '')
-rw-r--r-- | src/ui/help/VersionCheckThread.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/help/VersionCheckThread.cpp b/src/ui/help/VersionCheckThread.cpp index 7bd0eb8f..c7c77d1c 100644 --- a/src/ui/help/VersionCheckThread.cpp +++ b/src/ui/help/VersionCheckThread.cpp @@ -20,6 +20,11 @@ void VersionCheckThread::run() { QApplication::processEvents(); } + if(mNetworkReply->error() != QNetworkReply::NoError) { + qDebug() << "VersionCheckThread Found Network Error"; + return; + } + QByteArray bytes = mNetworkReply->readAll(); Document d; |