logic: Moved update check setting to preferences and enable automatic update check by default

This commit is contained in:
Eberhard Graether
2017-10-11 13:39:00 +02:00
parent cf984ca245
commit 85ab7d1e96
12 changed files with 198 additions and 54 deletions
@@ -0,0 +1,21 @@
#ifndef QT_UPDATE_CHECKER_WIDGET_H
#define QT_UPDATE_CHECKER_WIDGET_H
#include <QWidget>
class QPushButton;
class QtUpdateCheckerWidget
: public QWidget
{
public:
QtUpdateCheckerWidget(QWidget* parent = nullptr);
private:
void checkUpdate(bool force);
void setDownloadUrl(QString url);
QPushButton* m_button;
};
#endif // QT_UPDATE_CHECKER_WIDGET_H