summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Header.ui.qml12
1 files changed, 5 insertions, 7 deletions
diff --git a/Header.ui.qml b/Header.ui.qml
index 9072dc7..c5f98e6 100644
--- a/Header.ui.qml
+++ b/Header.ui.qml
@@ -1,6 +1,5 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
-import QtQuick.Window 2.15
import QtQuick.Layouts 1.15
import QtGraphicalEffects 1.15
import Bootstrap 5.3
@@ -33,7 +32,7 @@ ToolBar {
horizontalPadding: 15
background: Rectangle {
implicitHeight: 70
- color: Window.window.Bootstrap.bodyBg
+ color: light.Bootstrap.bodyBg
}
ToolButton {
@@ -62,9 +61,9 @@ ToolBar {
id: rectangle
anchors.fill: parent
radius: 5.2
- color: Window.window.Bootstrap.mode
+ color: light.Bootstrap.mode
? Eduport.bsDark
- : Window.window.Bootstrap.bodyBg
+ : light.Bootstrap.bodyBg
}
DrpShdw.Box {
@@ -81,7 +80,7 @@ ToolBar {
contentItem: Rectangle {
implicitWidth: width
implicitHeight: 1
- color: Window.window.Bootstrap.mode
+ color: light.Bootstrap.mode
? Eduport.bsGray300
: Eduport.bsGray500
}
@@ -282,8 +281,7 @@ ToolBar {
? Eduport.bsDropdownLinkHoverBg
: Eduport.mode
? Eduport.bsDark
- : Window.window
- .Bootstrap.bodyBg
+ : light.Bootstrap.bodyBg
radius: 5.2
}
}