mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 23:35:55 +00:00
Fix 'moonlight -v' output on Linux
This commit is contained in:
parent
c40174034c
commit
4fb39226ef
@ -223,6 +223,9 @@ LONG WINAPI UnhandledExceptionHandler(struct _EXCEPTION_POINTERS *ExceptionInfo)
|
|||||||
|
|
||||||
int main(int argc, char *argv[])
|
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.
|
// Set these here to allow us to use the default QSettings constructor.
|
||||||
// These also ensure that our cache directory is named correctly. As such,
|
// These also ensure that our cache directory is named correctly. As such,
|
||||||
// it is critical that these be called before Path::initialize().
|
// it is critical that these be called before Path::initialize().
|
||||||
|
Loading…
x
Reference in New Issue
Block a user