summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Gräßlin <[email protected]>2017-05-01 17:37:34 +0200
committerMartin Gräßlin <[email protected]>2017-05-01 17:38:24 +0200
commitf8296597119af27fa5cde673073e91adce457848 (patch)
tree9090ab734702a855bea3d46b5228ce9f94ea862d
parentd2d77b1b55061c40fb2a3bcd33e0929e8da2c9bf (diff)
Add output scale to Wayland overview
Summary: This change lists the scale factor for the Wayland outputs. Reviewers: #plasma Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D5683
-rw-r--r--Modules/base/info_wayland.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/base/info_wayland.cpp b/Modules/base/info_wayland.cpp
index 57b9e00..d62f196 100644
--- a/Modules/base/info_wayland.cpp
+++ b/Modules/base/info_wayland.cpp
@@ -194,6 +194,7 @@ void WaylandModule::init()
break;
}
new QTreeWidgetItem(o, QStringList() << i18n("Transform") << transform);
+ new QTreeWidgetItem(o, QStringList() << i18nc("The scale factor of the output", "Scale") << QString::number(output->scale()));
// add Modes
auto modesItem = new QTreeWidgetItem(o, QStringList() << i18n("Modes"));