From 6911cddb5ba8480683963f52ffa7a111ef51e6b2 Mon Sep 17 00:00:00 2001 From: acxz <17132214+acxz@users.noreply.github.com> Date: Wed, 30 Dec 2020 23:26:07 -0500 Subject: [PATCH] use default value of double ptr this fix allows QApplication to properly instantiate on qt-5.15 Signed-off-by: acxz <17132214+acxz@users.noreply.github.com> --- src/ign.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ign.cc b/src/ign.cc index 1e186a998..436b28d45 100644 --- a/src/ign.cc +++ b/src/ign.cc @@ -28,7 +28,7 @@ #include "ignition/gui/MainWindow.hh" int g_argc = 1; -char **g_argv = new char *[g_argc]; +char **g_argv; ////////////////////////////////////////////////// extern "C" IGNITION_GUI_VISIBLE char *ignitionVersion()