GUI: Explicitely use Common:: namespace

This commit is contained in:
Eugene Sandulenko 2021-11-10 15:56:44 +01:00
parent 45309c6e0d
commit 109beb4f86
32 changed files with 275 additions and 328 deletions

View file

@ -31,7 +31,7 @@
namespace GUI {
SaveLoadChooser::SaveLoadChooser(const U32String &title, const U32String &buttonLabel, bool saveMode)
SaveLoadChooser::SaveLoadChooser(const Common::U32String &title, const Common::U32String &buttonLabel, bool saveMode)
: _impl(nullptr), _title(title), _buttonLabel(buttonLabel), _saveMode(saveMode) {
}
@ -83,7 +83,7 @@ int SaveLoadChooser::runModalWithCurrentTarget() {
return runModalWithMetaEngineAndTarget(g_engine->getMetaEngine(), ConfMan.getActiveDomainName());
}
int SaveLoadChooser::runModalWithMetaEngineAndTarget(const MetaEngine *engine, const String &target) {
int SaveLoadChooser::runModalWithMetaEngineAndTarget(const MetaEngine *engine, const Common::String &target) {
selectChooser(engine);
if (!_impl)
return -1;
@ -94,7 +94,7 @@ int SaveLoadChooser::runModalWithMetaEngineAndTarget(const MetaEngine *engine, c
// Set up the game domain as newly active domain, so
// target specific savepath will be checked
String oldDomain = ConfMan.getActiveDomainName();
Common::String oldDomain = ConfMan.getActiveDomainName();
ConfMan.setActiveDomain(target);
int ret;