nullptr is better than 0
This commit is contained in:
parent
09d7cd9de6
commit
375150347b
@ -46,9 +46,9 @@ ViewManager::ViewManager( QObject* parent )
|
|||||||
: QObject( parent )
|
: QObject( parent )
|
||||||
, m_widget( new QWidget() )
|
, m_widget( new QWidget() )
|
||||||
, m_currentStep( 0 )
|
, m_currentStep( 0 )
|
||||||
, m_installationViewStep( 0 )
|
, m_installationViewStep( nullptr )
|
||||||
, m_phase( Prepare )
|
, m_phase( Prepare )
|
||||||
, m_finishedStep( 0 )
|
, m_finishedStep( nullptr )
|
||||||
{
|
{
|
||||||
s_instance = this;
|
s_instance = this;
|
||||||
QBoxLayout* mainLayout = new QVBoxLayout;
|
QBoxLayout* mainLayout = new QVBoxLayout;
|
||||||
|
Loading…
Reference in New Issue
Block a user