mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 04:17:34 +02:00
making code review changes
This commit is contained in:
parent
5d570f030f
commit
eb01b50e6f
1 changed files with 3 additions and 3 deletions
|
@ -69,7 +69,7 @@ Item {
|
||||||
id: stack
|
id: stack
|
||||||
initialItem: inputConfiguration
|
initialItem: inputConfiguration
|
||||||
property alias messageVisible: imageMessageBox.visible
|
property alias messageVisible: imageMessageBox.visible
|
||||||
property alias selectedPlugin: box.currentText
|
property alias selectedPlugin: box.textAt(box.currentIndex)
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: inputConfiguration
|
id: inputConfiguration
|
||||||
anchors {
|
anchors {
|
||||||
|
@ -229,10 +229,10 @@ Item {
|
||||||
id: loader
|
id: loader
|
||||||
asynchronous: false
|
asynchronous: false
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
source: InputConfiguration.configurationLayout(box.currentText);
|
source: InputConfiguration.configurationLayout(box.textAt(box.currentIndex));
|
||||||
onLoaded: {
|
onLoaded: {
|
||||||
if (loader.item.hasOwnProperty("pluginName")) {
|
if (loader.item.hasOwnProperty("pluginName")) {
|
||||||
if (box.currentText === "HTC Vive") {
|
if (box.textAt(box.currentIndex) === "HTC Vive") {
|
||||||
loader.item.pluginName = "OpenVR";
|
loader.item.pluginName = "OpenVR";
|
||||||
} else {
|
} else {
|
||||||
loader.item.pluginName = box.textAt(box.currentIndex);
|
loader.item.pluginName = box.textAt(box.currentIndex);
|
||||||
|
|
Loading…
Reference in a new issue