File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,11 @@ int main(int argc, char *argv[]) {
100
100
QCoreApplication::setOrganizationDomain (" open.hd" );
101
101
QCoreApplication::setApplicationName (" Open.HD" );
102
102
103
+ auto manageSettings = new ManageSettings ();
104
+ #if defined(__rasp_pi__)
105
+ manageSettings->loadPiSettings ();
106
+ #endif
107
+
103
108
QSettings settings;
104
109
105
110
double global_scale = settings.value (" global_scale" , 1.0 ).toDouble ();
@@ -338,13 +343,8 @@ OpenHDAppleVideo *pipVideo = new OpenHDAppleVideo(OpenHDStreamTypePiP);
338
343
339
344
#endif
340
345
341
- auto manageSettings = new ManageSettings ();
342
346
engine.rootContext ()->setContextProperty (" ManageSettings" , manageSettings);
343
347
344
- #if defined(__rasp_pi__)
345
- manageSettings->loadPiSettings ();
346
- #endif
347
-
348
348
349
349
auto openHDSettings = new OpenHDSettings ();
350
350
engine.rootContext ()->setContextProperty (" openHDSettings" , openHDSettings);
You can’t perform that action at this time.
0 commit comments