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

applets/keyboardlayout: use correct variable type for property

We know that layoutShortName is going to be a string, so use the string
type in the property declaration.
parent cca20ea4
Pipeline #217325 passed with stage
in 2 minutes and 39 seconds
......@@ -10,7 +10,7 @@ Kirigami.FormLayout {
id: root
property alias cfg_showFlag: showFlag.checked
readonly property var layoutShortName: keyboardLayout.layoutsList.length ? keyboardLayout.layoutsList[keyboardLayout.layout].shortName
readonly property string layoutShortName: keyboardLayout.layoutsList.length ? keyboardLayout.layoutsList[keyboardLayout.layout].shortName
: ""
KeyboardLayout { id: keyboardLayout }
......
  • Nate, can I ask you to make a MRs and tag me for changes in this applet, even trivial ones? Thank you.

  • In general, merge requests aren't needed for trivial code fixes like this.

    Is this an incorrect change?

  • No, I just wanted to be aware of the changes

Supports Markdown
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