diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project(systemsettings VERSION ${PROJECT_VERSION}) set(QT_MIN_VERSION "5.11.0") -set(KF5_MIN_VERSION "5.58.0") +set(KF5_MIN_VERSION "5.62.0") find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) diff --git a/sidebar/package/contents/ui/CategoriesPage.qml b/sidebar/package/contents/ui/CategoriesPage.qml --- a/sidebar/package/contents/ui/CategoriesPage.qml +++ b/sidebar/package/contents/ui/CategoriesPage.qml @@ -19,8 +19,7 @@ import QtQuick 2.5 import QtQuick.Controls 2.5 as QQC2 import QtQuick.Layouts 1.1 - -import org.kde.kirigami 2.8 as Kirigami +import org.kde.kirigami 2.10 as Kirigami Kirigami.ScrollablePage { id: mainColumn @@ -112,20 +111,9 @@ } section { property: "categoryDisplayRole" - delegate: Kirigami.AbstractListItem { + delegate: Kirigami.ListSectionHeader { width: categoryView.width - - backgroundColor: Kirigami.Theme.backgroundColor - Kirigami.Theme.inherit: false - Kirigami.Theme.colorSet: Kirigami.Theme.Window - - hoverEnabled: false - supportsMouseEvents: false - - Kirigami.Heading { - level: 2 - text: section - } + label: section } } diff --git a/sidebar/package/contents/ui/SubCategoryPage.qml b/sidebar/package/contents/ui/SubCategoryPage.qml --- a/sidebar/package/contents/ui/SubCategoryPage.qml +++ b/sidebar/package/contents/ui/SubCategoryPage.qml @@ -76,7 +76,7 @@ Layout.fillWidth: true Layout.fillHeight: true - level: 2 + level: 3 height: toolButtonIcon.height text: subCategoryColumn.title verticalAlignment: Text.AlignVCenter