# HG changeset patch # User Hasan Yavuz Ă–ZDERYA # Date 2017-08-20 12:08:40 # Node ID 73ac923cf254f25e996f87dd87340505d4ad6920 # Parent 43170751e0a777857a92fc89992d8948e6956318 compile time option to notify user about package manager diff --git a/src/updatecheckdialog.cpp b/src/updatecheckdialog.cpp --- a/src/updatecheckdialog.cpp +++ b/src/updatecheckdialog.cpp @@ -48,8 +48,15 @@ UpdateCheckDialog::UpdateCheckDialog(QWi else { show(); +#ifdef UPDATE_TYPE_PKGMAN + text = QString("There is a new version: %1. " + "Use your package manager to update" + " or click to download.")\ + .arg(newVersion).arg(downloadUrl); +#else text = QString("Found update to version %1. Click to download.")\ .arg(newVersion).arg(downloadUrl); +#endif } lastCheck = QDate::currentDate();