Some small changes

* changelog update
* version metadata update
* bump required Qt version to 5.6 and update patch accordinly
* fix invalid cast in update dialog
This commit is contained in:
2016-04-07 16:52:05 +03:00
parent e9146b3b6c
commit bfa4f9e98e
7 changed files with 27 additions and 6 deletions

View File

@ -123,15 +123,15 @@ void AWUpdateHelper::showUpdates(const QVersionNumber version)
void AWUpdateHelper::userReplyOnUpdates(QAbstractButton *button)
{
int ret = static_cast<QMessageBox *>(sender())->buttonRole(button);
QMessageBox::ButtonRole ret = static_cast<QMessageBox *>(sender())->buttonRole(button);
qCInfo(LOG_AW) << "User select" << ret;
switch (ret) {
case QMessageBox::Ok:
case QMessageBox::AcceptRole:
QDesktopServices::openUrl(QString(RELEASES)
+ m_foundVersion.toString());
break;
case QMessageBox::Cancel:
case QMessageBox::RejectRole:
default:
break;
}