summaryrefslogtreecommitdiff
path: root/Header.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'Header.ui.qml')
-rw-r--r--Header.ui.qml20
1 files changed, 18 insertions, 2 deletions
diff --git a/Header.ui.qml b/Header.ui.qml
index 0096858..c951096 100644
--- a/Header.ui.qml
+++ b/Header.ui.qml
@@ -68,6 +68,20 @@ ToolBar {
}
}
+ Component {
+ id: menuSeparator
+ MenuSeparator {
+ contentItem: Rectangle {
+ implicitWidth: menu.width
+ implicitHeight: 1
+ color: Eduport.mode
+ == Eduport.Mode.Light
+ ? Eduport.bsGray500
+ : Eduport.bsGray300
+ }
+ }
+ }
+
ToolButton {
id: profile
padding: 0
@@ -148,7 +162,8 @@ ToolBar {
}
}
- MenuSeparator {
+ Loader {
+ sourceComponent: menuSeparator
}
Action {
@@ -171,7 +186,8 @@ ToolBar {
text: qsTr("Sign Out")
}
- MenuSeparator {
+ Loader {
+ sourceComponent: menuSeparator
}
Item {