Merge branch 'master' of github.com:arcan1s/awesome-widgets

Conflicts:
	sources/awesome-widget-kde4/graphicalitem.cpp
This commit is contained in:
arcan1s
2015-02-07 01:28:14 +03:00
31 changed files with 1990 additions and 567 deletions

View File

@ -492,7 +492,7 @@ void AwesomeWidget::showUpdates(QString version)
text += i18n("New version : %1", version) + QString("\n\n");
text += i18n("Click \"Ok\" to download");
int select = QMessageBox::information(0, i18n("There are updates"), text, QMessageBox::Ok | QMessageBox::Cancel);
switch(select) {
switch (select) {
case QMessageBox::Ok:
QDesktopServices::openUrl(QString(RELEASES) + version);
break;