Commit 4cbe29cf authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Fix menubar show/hide functionality

parent 6dba2d6f
......@@ -59,10 +59,11 @@ ApplicationWindow {
}
// main menu bar
MainMenuBar {
menuBar: MainMenuBar {
id: topMenu
// note: this is access to internal API, but the only way to unset/hide the menu bar
__contentItem.visible: kcfg_ShowMenuBar
}
menuBar: { kcfg_ShowMenuBar ? topMenu : null }
Component {
id: welcomeScreen
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment