Kaydet (Commit) b63810cf authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Headless implies invisible

Change-Id: I97c1becd4a3f31ebb5d984d5efbfef7b9339f6bf
üst 577db4b1
...@@ -186,9 +186,7 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier ) ...@@ -186,9 +186,7 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier )
} }
else if ( oArg == "headless" ) else if ( oArg == "headless" )
{ {
// Headless means also invisibile, so set this parameter to true! setHeadless();
m_headless = true;
m_invisible = true;
} }
else if ( oArg == "cat" ) else if ( oArg == "cat" )
{ {
......
...@@ -111,7 +111,7 @@ class CommandLineArgs: private boost::noncopyable ...@@ -111,7 +111,7 @@ class CommandLineArgs: private boost::noncopyable
// Special analyzed states (does not match directly to a command line parameter!) // Special analyzed states (does not match directly to a command line parameter!)
bool IsEmpty() const { return m_bEmpty;} bool IsEmpty() const { return m_bEmpty;}
void setHeadless() { m_headless = true; } void setHeadless() { m_headless = true; m_invisible = true; }
private: private:
void ParseCommandLine_Impl( Supplier& supplier ); void ParseCommandLine_Impl( Supplier& supplier );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment