fixed bugs with dataengine settings saving

This commit is contained in:
arcan1s committed 2015-05-02 01:40:20 +03:00
1 parent fd8f2127d9
commit 9a6b883905
6 files changed
+1508 -6

No files matched your search

@@ -105,7 +105,7 @@ Item {
id: gpuDev
width: parent.width * 3 / 5
model: ["auto", "disable", "ati", "nvidia"]
onCurrentIndexChanged: cfg_dataengine["GPUDEV"] = gpuDev.currentText
onCurrentIndexChanged: cfg_dataengine["GPUDEV"] = model[currentIndex]
Component.onCompleted: {
for (var i=0; i<model.length; i++) {
if (model[i] == cfg_dataengine["GPUDEV"]) {
@@ -130,7 +130,7 @@ Item {
id: hdd
width: parent.width * 3 / 5
model: AWKeys.getHddDevices(true)
onCurrentIndexChanged: cfg_dataengine["HDDDEV"] = hdd.currentText
onCurrentIndexChanged: cfg_dataengine["HDDDEV"] = model[currentIndex]
Component.onCompleted: {
for (var i=0; i<model.length; i++) {
if (model[i] == cfg_dataengine["HDDDEV"]) {