mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-30 12:10:03 +02:00
[apps] Display the preferences in the title bar
Change-Id: Ib1defef85b68a48f667127c583901b659db1cbaf
This commit is contained in:
@@ -18,6 +18,7 @@ AppsContainer::AppsContainer() :
|
||||
m_preferences(Preferences()),
|
||||
m_variableBoxController(&m_globalContext)
|
||||
{
|
||||
refreshPreferences();
|
||||
}
|
||||
|
||||
int AppsContainer::numberOfApps() {
|
||||
@@ -71,6 +72,10 @@ void AppsContainer::switchTo(App * app) {
|
||||
Container::switchTo(app);
|
||||
}
|
||||
|
||||
void AppsContainer::refreshPreferences() {
|
||||
m_window.refreshPreferences(&m_preferences);
|
||||
}
|
||||
|
||||
Window * AppsContainer::window() {
|
||||
return &m_window;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user