Change default settings.
This commit is contained in:
parent
0dba1c9146
commit
95c083e520
|
@ -117,6 +117,11 @@ main(int argc, char* argv[])
|
||||||
if (fread(buf, 1, sizeof (buf), fd) > 0)
|
if (fread(buf, 1, sizeof (buf), fd) > 0)
|
||||||
launcherLogger->info("Running on sunxi, switching to NoFBO.");
|
launcherLogger->info("Running on sunxi, switching to NoFBO.");
|
||||||
settings.setValue("Backend/fbo", false);
|
settings.setValue("Backend/fbo", false);
|
||||||
|
settings.setValue("Appearance/clickToPause", false);
|
||||||
|
settings.setValue("Appearance/doubleTapToSeek", true);
|
||||||
|
settings.setValue("Appearance/scaleFactor", 2.2);
|
||||||
|
settings.setValue("Appearance/subtitlesFontSize", 38);
|
||||||
|
settings.setValue("Appearance/uiFadeTimer", 2000);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -66,15 +66,16 @@ Window {
|
||||||
id: appearance
|
id: appearance
|
||||||
category: "Appearance"
|
category: "Appearance"
|
||||||
property bool titleOnlyOnFullscreen: true
|
property bool titleOnlyOnFullscreen: true
|
||||||
property bool clickToPause: true
|
property bool clickToPause: false
|
||||||
property bool useMpvSubs: false
|
property bool useMpvSubs: false
|
||||||
property string themeName: "YouTube"
|
property string themeName: "YouTube"
|
||||||
property string fontName: "Roboto"
|
property string fontName: "Roboto"
|
||||||
property double scaleFactor: 1.0
|
property double scaleFactor: 1.0
|
||||||
property int subtitlesFontSize: 18
|
property int subtitlesFontSize: 24
|
||||||
property int uiFadeTimer: 1000
|
property int uiFadeTimer: 1000
|
||||||
property bool doubleTapToSeek: false
|
property bool doubleTapToSeek: true
|
||||||
property double doubleTapToSeekBy: 5
|
property double doubleTapToSeekBy: 5
|
||||||
|
// Can fix some screen tearing on some devices.
|
||||||
property bool maximizeInsteadOfFullscreen: false
|
property bool maximizeInsteadOfFullscreen: false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue