summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Graham <[email protected]>2018-10-28 09:09:02 -0600
committerNate Graham <[email protected]>2018-10-28 21:39:14 -0600
commita2c87ce86c8047d631988243f28fe8712c43ce01 (patch)
tree051ae6d671d003615479e00fd2e5f3600f8963c9
parent64d0815faed992ddf71b788d196878d14d045744 (diff)
[workspace KCM] Port to QQC2
Summary: Port the Workspace KCM to QQC2. BUG: 385547 FIXED-IN: 5.15.0 Test Plan: - All functionality still works - Keyboard navigation via the Tab key still works as expected - Looks good at with a fractional scale factor now; here shown at 1.5x:{F6370717} Reviewers: #plasma, davidedmundson, apol Reviewed By: apol Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D16483
-rw-r--r--kcms/workspaceoptions/package/contents/ui/main.qml8
1 files changed, 2 insertions, 6 deletions
diff --git a/kcms/workspaceoptions/package/contents/ui/main.qml b/kcms/workspaceoptions/package/contents/ui/main.qml
index 17aa04c..7cd0c8f 100644
--- a/kcms/workspaceoptions/package/contents/ui/main.qml
+++ b/kcms/workspaceoptions/package/contents/ui/main.qml
@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import QtQuick 2.7
-import QtQuick.Controls 1.4 as Controls
+import QtQuick.Controls 2.4 as Controls
import QtQuick.Layouts 1.3 as Layouts
import org.kde.kirigami 2.4 as Kirigami
import org.kde.kcm 1.1 as KCM
@@ -52,26 +52,22 @@ KCM.SimpleKCM {
}
Kirigami.Separator {
+ Kirigami.FormData.isSection: false
}
// Click behavior settings
- Controls.ExclusiveGroup {
- id: clickBehaviorGroup
- }
Controls.RadioButton {
id: singleClick
Kirigami.FormData.label: i18n("Click behavior:")
text: i18n("Single-click to open files and folders")
checked: kcm.singleClick
- exclusiveGroup: clickBehaviorGroup
onCheckedChanged: kcm.singleClick = checked
}
Controls.RadioButton {
id: doubleClick
text: i18n("Double-click to open files and folders (single click to select)")
- exclusiveGroup: clickBehaviorGroup
}
Connections {