Define property in Units.qml for the Plasma styles

Summary: Much like it is specified by kirigami itself

Test Plan: Now I don't get a warning

Reviewers: #plasma, mart

Reviewed By: #plasma, mart

Subscribers: plasma-devel, #frameworks

Tags: #plasma, #frameworks

Differential Revision: https://phabricator.kde.org/D10225
This commit is contained in:
Aleix Pol 2018-02-01 15:10:54 +01:00
parent 551e92b10f
commit a02e91a271
2 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,8 @@ QtObject {
*/
readonly property int wheelScrollLines: __styleItem.styleHint("wheelScrollLines")
property int toolTipDelay: 700
property variant fontMetrics: TextMetrics {
text: "M"
function roundedIconSize(size) {

View File

@ -99,6 +99,8 @@ QtObject {
*/
property int wheelScrollLines: 3
property int toolTipDelay: 700
/**
* metrics used by the default font
*/