diff --git a/src/qml/main.qml b/src/qml/main.qml --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -21,10 +21,8 @@ import org.kde.kirigami 2.4 as Kirigami import QtGraphicalEffects 1.0 -Rectangle { +Item { id: root - //WORKAROUND: makes the rectangle's color match the background color - color: Qt.tint(palette.window, Qt.rgba(palette.base.r, palette.base.g, palette.base.b, 0.3)) height: Kirigami.Units.gridUnit * 24 property string themeName: "" @@ -138,9 +136,4 @@ wrapMode: Text.Wrap } } - - SystemPalette { - id: palette - colorGroup: SystemPalette.Active - } } diff --git a/src/themeconfig.cpp b/src/themeconfig.cpp --- a/src/themeconfig.cpp +++ b/src/themeconfig.cpp @@ -44,6 +44,9 @@ configUi->setupUi(this); configUi->messageWidget->setVisible(false); + configUi->quickWidget->setAttribute(Qt::WA_AlwaysStackOnTop); + configUi->quickWidget->setClearColor(Qt::transparent); + ThemesModel *model = new ThemesModel(this); configUi->themesListView->setModel(model);