Commit 4f2142bb authored by Nate Graham's avatar Nate Graham 💤
Browse files

Fix duplicated toolbar now that the Kirigmai bug has been fixed

parent 8586e9cb
Pipeline #52871 passed with stage
in 10 minutes and 14 seconds
......@@ -46,11 +46,9 @@ Kirigami.Page {
}
// Header with title
// FIXME: Apparently the page needs to have a row or a stack to show the
// header toolbar automatically, so we have to make our own See
// https://bugs.kde.org/show_bug.cgi?id=432541
// globalToolBarStyle: Kirigami.ApplicationHeaderStyle.ToolBar
// TODO: Once we depend on Frameworks 5.80, change this to
// "Kirigami.ApplicationHeaderStyle.None" and remove the custom header
globalToolBarStyle: Kirigami.ApplicationHeaderStyle.None
header: ToolBar {
Layout.fillWidth: true
......
......@@ -100,11 +100,9 @@ Kirigami.Page {
}
}
// FIXME: Apparently the page needs to have a row or a stack to show the
// header toolbar automatically, so we have to make our own See
// https://bugs.kde.org/show_bug.cgi?id=432541
// globalToolBarStyle: Kirigami.ApplicationHeaderStyle.ToolBar
// TODO: Once we depend on Frameworks 5.80, change this to
// "Kirigami.ApplicationHeaderStyle.None" and remove the custom header
globalToolBarStyle: Kirigami.ApplicationHeaderStyle.None
header: ToolBar {
// Override color to use standard window colors, not header colors
// TODO: remove this if the HeaderBar component is ever removed or moved
......
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