Skip to content

Commit

Permalink
do not notify when no update is available when its self updating
Browse files Browse the repository at this point in the history
  • Loading branch information
antony-jr committed Aug 7, 2019
1 parent 302b24f commit ff9ee1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AppImageUpdater.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ AppImageUpdater::AppImageUpdater(bool minimized, QWidget *parent)
if(_pSettings.isShowUpdateDialogs()){
flags = (AppImageUpdaterDialog::Default ^
AppImageUpdaterDialog::ShowErrorDialog ^
AppImageUpdaterDialog::ShowBeforeProgress) | AppImageUpdaterDialog::AlertWhenAuthorizationIsRequired;
AppImageUpdaterDialog::ShowBeforeProgress ^
AppImageUpdaterDialog::NotifyWhenNoUpdateIsAvailable) | AppImageUpdaterDialog::AlertWhenAuthorizationIsRequired;
}

_pUpdateDialog = new AppImageUpdaterDialog(QPixmap(QString::fromUtf8(":/default_icon.png")),this,flags);
Expand Down

0 comments on commit ff9ee1f

Please sign in to comment.