The item already snuck in in an earlier commit so might as well implement
it too.
import QtQuick 2.0
import Sailfish.Silica 1.0
+import org.nemomobile.configuration 1.0
import fi.mikkosoft.xinema 0.1
Page
MenuItem
{
text: "Set as default location"
+
+ onClicked: defaultLocation.value = browseDirectory.directory
}
MenuItem
Component.onCompleted:
{
if(xinemaControl.connected)
- browseDirectory.directory = "/";
+ browseDirectory.directory = defaultLocation.value;
}
StreamControl
}
}
}
+
+ ConfigurationValue
+ {
+ id: defaultLocation
+ key: "/fi/mikkosoft/xinema-remote/defaultLocation"
+ defaultValue: "/"
+ }
}
Release: 1
Group: Qt/Qt
License: GPL
+Requires: nemo-qml-plugin-configuration-qt5
%description
%{summary}.