Fix 'moonlight -v' output on Linux

This commit is contained in:
Cameron Gutman 2018-12-05 22:01:22 -08:00
parent c40174034c
commit 4fb39226ef

View file

@ -223,6 +223,9 @@ LONG WINAPI UnhandledExceptionHandler(struct _EXCEPTION_POINTERS *ExceptionInfo)
int main(int argc, char *argv[])
{
// Set the app version for the QCommandLineParser's showVersion() command
QCoreApplication::setApplicationVersion(VERSION_STR);
// Set these here to allow us to use the default QSettings constructor.
// These also ensure that our cache directory is named correctly. As such,
// it is critical that these be called before Path::initialize().