Commit f8f71798 authored by Nate Graham's avatar Nate Graham
Browse files

Port applet to use PlasmaExtras.PlaceholderMessage

The Kirigami version uses QQC2 elements which don't respect the plasma
theme and color scheme, leading to thing slooking out of place
especially when using a dark color theme or scheme.

Depends on frameworks/plasma-framework!13
parent c61927ff
...@@ -66,12 +66,6 @@ if (KF5NetworkManagerQt_FOUND) ...@@ -66,12 +66,6 @@ if (KF5NetworkManagerQt_FOUND)
endif() endif()
find_package (KSysGuard REQUIRED) find_package (KSysGuard REQUIRED)
find_package(KF5Kirigami2 ${KF5_DEP_VERSION} CONFIG)
set_package_properties(KF5Kirigami2 PROPERTIES
DESCRIPTION "A QtQuick based components set"
TYPE RUNTIME
)
include_directories ( include_directories (
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/common ${CMAKE_CURRENT_SOURCE_DIR}/common
......
...@@ -26,8 +26,6 @@ import org.kde.plasma.plasmoid 2.0 ...@@ -26,8 +26,6 @@ import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.components 2.0 as PlasmaComponents import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.kirigami 2.12 as Kirigami
Item { Item {
property var vaultsModel: plasmoid.nativeInterface.vaultsModel property var vaultsModel: plasmoid.nativeInterface.vaultsModel
property var vaultsModelActions: plasmoid.nativeInterface.vaultsModel.actionsModel() property var vaultsModelActions: plasmoid.nativeInterface.vaultsModel.actionsModel()
...@@ -77,7 +75,7 @@ Item { ...@@ -77,7 +75,7 @@ Item {
interactive: false interactive: false
Kirigami.PlaceholderMessage { PlasmaExtras.PlaceholderMessage {
id: noVaultsMessage id: noVaultsMessage
anchors.centerIn: parent anchors.centerIn: parent
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment