-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fixed #17 - added automatic updates check - removed Updater Tools - added Updater
- Loading branch information
Showing
10 changed files
with
588 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,8 @@ | |
Contact : [email protected] | ||
*/ | ||
|
||
#ifndef ACT_NO_UPDATER | ||
|
||
#include "changelogdialog.h" | ||
#include "ui_changelogdialog.h" | ||
|
||
|
@@ -39,9 +41,9 @@ void ChangelogDialog::setVersion(const Tools::Version &version) | |
ui->versionNumber->setText(version.toString()); | ||
} | ||
|
||
void ChangelogDialog::setReleaseDate(const QString &releaseDate) | ||
void ChangelogDialog::setReleaseDate(const QDate &releaseDate) | ||
{ | ||
ui->releaseDate->setText(releaseDate); | ||
ui->releaseDate->setText(releaseDate.toString(Qt::DefaultLocaleLongDate)); | ||
} | ||
|
||
void ChangelogDialog::setType(const QString &type) | ||
|
@@ -81,3 +83,5 @@ void ChangelogDialog::on_downloadButton_clicked() | |
|
||
accept(); | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,12 +18,15 @@ | |
Contact : [email protected] | ||
*/ | ||
|
||
#ifndef ACT_NO_UPDATER | ||
|
||
#ifndef CHANGELOGDIALOG_H | ||
#define CHANGELOGDIALOG_H | ||
|
||
#include "version.h" | ||
|
||
#include <QDialog> | ||
#include <QDate> | ||
|
||
namespace Ui | ||
{ | ||
|
@@ -46,7 +49,7 @@ class ChangelogDialog : public QDialog | |
~ChangelogDialog(); | ||
|
||
void setVersion(const Tools::Version &version); | ||
void setReleaseDate(const QString &releaseDate); | ||
void setReleaseDate(const QDate &releaseDate); | ||
void setType(const QString &type); | ||
void setChangelog(const QString &changelog); | ||
|
||
|
@@ -65,3 +68,5 @@ private slots: | |
}; | ||
|
||
#endif // CHANGELOGDIALOG_H | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.