mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Substitute "app()->container()" by "AppsContainer::sharedAppsContainer()"
This commit is contained in:
committed by
EmilieNumworks
parent
268ad3f3ba
commit
eb3da7f395
@@ -43,8 +43,7 @@ bool LanguageController::handleEvent(Ion::Events::Event event) {
|
||||
GlobalPreferences::sharedGlobalPreferences()->setLanguage((I18n::Language)(selectedRow()+1));
|
||||
/* We need to reload the whole title bar in order to translate both the
|
||||
* "Settings" title and the degree preference. */
|
||||
AppsContainer * myContainer = (AppsContainer * )app()->container();
|
||||
myContainer->reloadTitleBarView();
|
||||
AppsContainer::sharedAppsContainer()->reloadTitleBarView();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user