aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/function/VersionCheckThread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/function/VersionCheckThread.h')
-rw-r--r--src/ui/function/VersionCheckThread.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/function/VersionCheckThread.h b/src/ui/function/VersionCheckThread.h
index 181ee947..0db9770c 100644
--- a/src/ui/function/VersionCheckThread.h
+++ b/src/ui/function/VersionCheckThread.h
@@ -26,6 +26,7 @@
#define GPGFRONTEND_VERSIONCHECKTHREAD_H
#include "ui/GpgFrontendUI.h"
+#include "ui/data_struct/SoftwareVersion.h"
namespace GpgFrontend::UI {
@@ -33,18 +34,17 @@ class VersionCheckThread : public QThread {
Q_OBJECT
public:
- explicit VersionCheckThread(QNetworkReply* networkReply);
+ explicit VersionCheckThread();
signals:
- void upgradeVersion(const QString& currentVersion,
- const QString& latestVersion);
+ void upgradeVersion(SoftwareVersion version);
protected:
void run() override;
private:
- QNetworkReply* mNetworkReply;
+ QByteArray latest_reply_bytes_, current_reply_bytes_;
};
} // namespace GpgFrontend::UI