Fix SIGSEGV with Qt launcher on Linux.
- patch from Dirk Dittmann
This commit is contained in:
parent
1546778109
commit
67352a1a52
2 changed files with 2 additions and 2 deletions
|
@ -535,7 +535,7 @@ QtLauncher::~QtLauncher()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void QtLauncher::initApp(int argc, char** argv)
|
void QtLauncher::initApp(int& argc, char** argv)
|
||||||
{
|
{
|
||||||
static bool qtInitDone = false;
|
static bool qtInitDone = false;
|
||||||
if (!qtInitDone) {
|
if (!qtInitDone) {
|
||||||
|
|
|
@ -48,7 +48,7 @@ public:
|
||||||
QtLauncher();
|
QtLauncher();
|
||||||
virtual ~QtLauncher();
|
virtual ~QtLauncher();
|
||||||
|
|
||||||
static void initApp(int argc, char** argv);
|
static void initApp(int& argc, char** argv);
|
||||||
|
|
||||||
static bool runLauncherDialog();
|
static bool runLauncherDialog();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue