Commit c9238b7f authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[CHANGE] - made some constructors explicit.

parent 4690422d
......@@ -62,7 +62,7 @@ public:
*
* \param from the instance to copy.
*/
WFlag( const WFlag& from );
explicit WFlag( const WFlag& from );
/**
* Destructor. It deletes the instance of WCondition specified on construction.
......
......@@ -95,7 +95,7 @@ public:
*
* \param from the instance to copy.
*/
WProperties( const WProperties& from );
explicit WProperties( const WProperties& from );
/**
* destructor
......
......@@ -58,7 +58,7 @@ public:
*
* \param from the instance to copy.
*/
WPropertyBase( const WPropertyBase& from );
explicit WPropertyBase( const WPropertyBase& from );
/**
* Destructor.
......
......@@ -121,7 +121,7 @@ public:
*
* \param from the instance to copy.
*/
WPropertyVariable( const WPropertyVariable< T >& from );
explicit WPropertyVariable( const WPropertyVariable< T >& from );
/**
* Destructor.
......
......@@ -70,7 +70,7 @@ void WPropertyBoolWidget::update()
// simply set the new state
m_checkbox.setChecked( m_boolProperty->get() );
m_button.setChecked( m_boolProperty->get() );
m_asText.setText( m_boolProperty->get() ? QString( "Yes" ) : QString( "No") );
m_asText.setText( m_boolProperty->get() ? QString( "Yes" ) : QString( "No" ) );
}
QPushButton* WPropertyBoolWidget::getButton()
......
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