summaryrefslogtreecommitdiffstats
path: root/application/dialogs/UpdateDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'application/dialogs/UpdateDialog.h')
-rw-r--r--application/dialogs/UpdateDialog.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/application/dialogs/UpdateDialog.h b/application/dialogs/UpdateDialog.h
index 8a9d9a2b..8099464b 100644
--- a/application/dialogs/UpdateDialog.h
+++ b/application/dialogs/UpdateDialog.h
@@ -43,8 +43,6 @@ public:
explicit UpdateDialog(bool hasUpdate = true, QWidget *parent = 0);
~UpdateDialog();
-private:
- Ui::UpdateDialog *ui;
public slots:
void on_btnUpdateNow_clicked();
void on_btnUpdateLater_clicked();
@@ -58,7 +56,11 @@ public slots:
/// Slot for when the chengelog fails to load...
void changelogFailed(QString reason);
+protected:
+ void closeEvent(QCloseEvent * ) override;
+
private:
+ Ui::UpdateDialog *ui;
QByteArray changelogData;
NetJobPtr dljob;
ChangelogType m_changelogType = CHANGELOG_MARKDOWN;