Commit d456bb44 authored by Martin Schultz's avatar Martin Schultz

attach console earlier on windows so the console output and commandline...

attach console earlier on windows so the console output and commandline parameters work as intended.
parent 050e1bfa
......@@ -463,6 +463,10 @@ int main(int argc, char **argv)
QCommandLineParser parser;
QString errorMessage;
#ifdef WIN32
//attach a console if necessary
attachConsole();
#endif
#ifndef NO_CATCH_SIGSEGV
// Set a handler for segfaults
......@@ -513,11 +517,6 @@ int main(int argc, char **argv)
Q_UNREACHABLE();
}
#ifdef WIN32
//attach a console if necessary
attachConsole();
#endif
QString tLang = OpenFlipperSettings().value("Core/Language/Translation","en_US").toString();
if (tLang == "locale")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment