mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Updater: Add/clarify error messages
This commit is contained in:
@ -29,21 +29,19 @@ Updater::Updater(QWidget* parent, std::string update_track, std::string hash_ove
|
||||
|
||||
void Updater::run()
|
||||
{
|
||||
AutoUpdateChecker::CheckForUpdate(m_update_track, m_hash_override);
|
||||
AutoUpdateChecker::CheckForUpdate(m_update_track, m_hash_override,
|
||||
AutoUpdateChecker::CheckType::Automatic);
|
||||
}
|
||||
|
||||
bool Updater::CheckForUpdate()
|
||||
void Updater::CheckForUpdate()
|
||||
{
|
||||
m_update_available = false;
|
||||
AutoUpdateChecker::CheckForUpdate(m_update_track, m_hash_override);
|
||||
|
||||
return m_update_available;
|
||||
AutoUpdateChecker::CheckForUpdate(m_update_track, m_hash_override,
|
||||
AutoUpdateChecker::CheckType::Manual);
|
||||
}
|
||||
|
||||
void Updater::OnUpdateAvailable(const NewVersionInformation& info)
|
||||
{
|
||||
bool later = false;
|
||||
m_update_available = true;
|
||||
|
||||
std::optional<int> choice = RunOnObject(m_parent, [&] {
|
||||
QDialog* dialog = new QDialog(m_parent);
|
||||
|
Reference in New Issue
Block a user