update-manager: actually remember that we asked the user

Otherwise we get that annoying question every time the git version changes.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-09-27 11:36:18 -07:00
parent 251d2589ad
commit ac8936004e

View file

@ -120,6 +120,7 @@ void UpdateManager::requestReceived()
response.setIcon(QMessageBox::Question);
response.setWindowModality(Qt::WindowModal);
update_settings->set_dont_check_for_updates(response.exec() != QMessageBox::Accepted);
update_settings->set_dont_check_exists(true);
}
}
}