mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-23 10:39:56 +00:00
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:
@ -20,7 +20,7 @@ X-Plasma-RemoteLocation=
|
||||
X-KDE-PluginInfo-Author=Evgeniy Alekseev aka arcanis
|
||||
X-KDE-PluginInfo-Email=esalexeev@gmail.com
|
||||
X-KDE-PluginInfo-Name=org.kde.plasma.awesomewidget
|
||||
X-KDE-PluginInfo-Version=3.1.0
|
||||
X-KDE-PluginInfo-Version=3.1.1
|
||||
X-KDE-PluginInfo-Website=https://arcanis.me/projects/awesome-widgets/
|
||||
X-KDE-PluginInfo-Category=System Information
|
||||
X-KDE-PluginInfo-Depends=
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user