File tree Expand file tree Collapse file tree 3 files changed +238
-138
lines changed Expand file tree Collapse file tree 3 files changed +238
-138
lines changed Original file line number Diff line number Diff line change @@ -699,7 +699,7 @@ VSettings *Application2D::Seamly2DSettings()
699699// --------------------
700700bool Application2D::isGUIMode ()
701701{
702- return (VCommandLine::instance != nullptr ) && VCommandLine::instance ->IsGuiEnabled ();
702+ return (VCommandLine::commandLine != nullptr ) && VCommandLine::commandLine ->IsGuiEnabled ();
703703}
704704
705705// @brief isAppInGUIMode little hack that allows to have access to application state from VAbstractApplication class.
@@ -711,6 +711,6 @@ bool Application2D::isAppInGUIMode() const
711711// --------------------
712712const VCommandLinePtr Application2D::commandLine () const
713713{
714- return VCommandLine::instance ;
714+ return VCommandLine::commandLine ;
715715}
716716// --------------------
You can’t perform that action at this time.
0 commit comments