Skip to content

Commit 302051f

Browse files
DSCaskeyslspencer
authored andcommitted
replace missing cli options and remove redundant comments
1 parent a84ef61 commit 302051f

File tree

3 files changed

+238
-138
lines changed

3 files changed

+238
-138
lines changed

‎src/app/seamly2d/core/application_2d.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ VSettings *Application2D::Seamly2DSettings()
699699
// --------------------
700700
bool 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
// --------------------
712712
const VCommandLinePtr Application2D::commandLine() const
713713
{
714-
return VCommandLine::instance;
714+
return VCommandLine::commandLine;
715715
}
716716
// --------------------

0 commit comments

Comments
 (0)