aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Screen.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index b321d85..666bb3e 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1408,11 +1408,10 @@ float BScreen::getYGap(int head) {
1408 1408
1409void BScreen::setupConfigmenu(FbTk::Menu &menu) { 1409void BScreen::setupConfigmenu(FbTk::Menu &menu) {
1410 1410
1411 struct ConfigMenu::SetupHelper sh = { 1411 struct ConfigMenu::SetupHelper sh;
1412 .screen = *this, 1412 sh.screen = *this;
1413 .rm = m_resource_manager, 1413 sh.rm = m_resource_manager;
1414 .resource = resource, 1414 sh.resource = resource;
1415 };
1416 1415
1417 menu.removeAll(); 1416 menu.removeAll();
1418 ConfigMenu::setup(menu, sh); 1417 ConfigMenu::setup(menu, sh);