mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-22 16:17:20 +00:00
Don't run configuration checks for CLI launches
This commit is contained in:
1 parent
fad197fdce
commit
37b9b6ed9e
2 files changed
+12
-9
No files matched your search
@@ -926,6 +926,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (hasGUI) {
|
||||
engine.rootContext()->setContextProperty("initialView", initialView);
|
||||
engine.rootContext()->setContextProperty("runConfigChecks", commandLineParserResult == GlobalCommandLineParser::NormalStartRequested);
|
||||
|
||||
// Load the main.qml file
|
||||
engine.load(QUrl(QStringLiteral("qrc:/gui/main.qml")));
|
||||
|
||||
Reference in new issue
Block a user