mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-30 23:09:12 +00:00
Fix 'moonlight -v' output on Linux
This commit is contained in:
parent
c40174034c
commit
4fb39226ef
1 changed files with 3 additions and 0 deletions
|
@ -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().
|
||||
|
|
Loading…
Reference in a new issue