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 @@ -20,7 +20,7 @@ import QtQuick.Layouts 1.1 import QtQuick.Controls 1.0 as QtControls import QtQuick.Controls 2.0 as QtControls2 -import org.kde.kirigami 2.7 as Kirigami +import org.kde.kirigami 2.10 as Kirigami Kirigami.ScrollablePage { @@ -115,20 +115,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 @@ -77,7 +77,7 @@ Layout.fillWidth: true Layout.fillHeight: true - level: 2 + level: 3 height: toolButtonIcon.height text: subCategoryColumn.title verticalAlignment: Text.AlignVCenter