summaryrefslogtreecommitdiffstats
path: root/src/qml/assets/UIToolBar.qml
diff options
context:
space:
mode:
authorSzabolcs David <[email protected]>2023-03-08 15:04:07 +0100
committerSzabolcs David <[email protected]>2023-04-05 10:50:54 +0000
commit1fe0003d727bdacd30c552f01000c434971ad3ca (patch)
tree9bb8e594214e02c8230cea07387d47850bee9505 /src/qml/assets/UIToolBar.qml
parenta09ec269e8b296d39d78b45ae251edb3d7bada41 (diff)
Update project to work with Qt 6HEADdev
Also fix an old issue: tab view now presents preview images. Change-Id: I47eb48b626e62e53e130734c92cc7ec8ed9ecb66 Reviewed-by: Michal Klocek <[email protected]>
Diffstat (limited to 'src/qml/assets/UIToolBar.qml')
-rw-r--r--src/qml/assets/UIToolBar.qml21
1 files changed, 6 insertions, 15 deletions
diff --git a/src/qml/assets/UIToolBar.qml b/src/qml/assets/UIToolBar.qml
index caf4ec1..40aa990 100644
--- a/src/qml/assets/UIToolBar.qml
+++ b/src/qml/assets/UIToolBar.qml
@@ -27,10 +27,9 @@
**
****************************************************************************/
-import QtQuick 2.5
-import QtQuick.Controls 1.0
-import QtQuick.Controls.Styles 1.0
-import QtQuick.Layouts 1.0
+import QtQuick
+import QtQuick.Controls
+import QtQuick.Layouts
ToolBar {
id: root
@@ -46,18 +45,10 @@ ToolBar {
signal doneClicked()
height: navigation.height
-
- style: ToolBarStyle {
- background: Rectangle {
- color: toolBarFillColor
- }
- padding {
- left: 0
- right: 0
- top: 0
- bottom: 0
- }
+ background: Rectangle {
+ color: toolBarFillColor
}
+ padding: 0
RowLayout {
spacing: 0