diff options
author | Bastien Bouclet | 2016-09-18 13:05:16 +0200 |
---|---|---|
committer | Bastien Bouclet | 2016-09-18 17:54:12 +0200 |
commit | 1a1a5b5f692ac74e25b03ba2bdc09e0af3606a4a (patch) | |
tree | 462f5a2740370259327a51959a0923da4f28ed0d /gui/saveload-dialog.cpp | |
parent | 361d84ca74b82151509378e1a5bb868b52049502 (diff) | |
download | scummvm-rg350-1a1a5b5f692ac74e25b03ba2bdc09e0af3606a4a.tar.gz scummvm-rg350-1a1a5b5f692ac74e25b03ba2bdc09e0af3606a4a.tar.bz2 scummvm-rg350-1a1a5b5f692ac74e25b03ba2bdc09e0af3606a4a.zip |
CLOUD: Change the cloud icon to be updated by the main thread
The cloud manager registers itself as an event source as a mean to be polled
periodically by the GUI or engine code. The periodical polling is used to
update the OSD icon indicating background sync activity.
Also move the cloud icon from ConnectionManager to CloudManager,
allowing to decouple icon handling from network connections updates.
Diffstat (limited to 'gui/saveload-dialog.cpp')
-rw-r--r-- | gui/saveload-dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/saveload-dialog.cpp b/gui/saveload-dialog.cpp index cadd3e996f..4ae873229f 100644 --- a/gui/saveload-dialog.cpp +++ b/gui/saveload-dialog.cpp @@ -229,7 +229,7 @@ void SaveLoadChooserDialog::handleCommand(CommandSender *sender, uint32 cmd, uin void SaveLoadChooserDialog::runSaveSync(bool hasSavepathOverride) { if (!CloudMan.isSyncing()) { if (hasSavepathOverride) { - ConnMan.showCloudDisabledIcon(); + CloudMan.showCloudDisabledIcon(); } else { Cloud::SavesSyncRequest *request = CloudMan.syncSaves(); if (request) |