Show changelog in the update dialog.

This commit is contained in:
Petr Mrázek
2014-07-09 00:49:37 +02:00
parent 6349800f07
commit fc911add58
3 changed files with 236 additions and 40 deletions

View File

@ -16,6 +16,8 @@
#pragma once
#include <QDialog>
#include "logic/net/ByteArrayDownload.h"
#include "logic/net/NetJob.h"
namespace Ui
{
@ -43,4 +45,17 @@ public slots:
void on_btnUpdateNow_clicked();
void on_btnUpdateOnExit_clicked();
void on_btnUpdateLater_clicked();
/// Starts loading the changelog
void loadChangelog();
/// Slot for when the chengelog loads successfully.
void changelogLoaded();
/// Slot for when the chengelog fails to load...
void changelogFailed();
private:
ByteArrayDownloadPtr changelogDownload;
NetJobPtr dljob;
};