Remove obsolete code.

CAL-340 #close
This commit is contained in:
Teo Mrnjavac 2015-11-20 18:11:46 +01:00
parent 742b2013f9
commit 351c69c300

View File

@ -248,15 +248,6 @@ ViewManager::next()
{ {
m_back->setEnabled( false ); m_back->setEnabled( false );
m_next->setEnabled( false ); m_next->setEnabled( false );
connect( Calamares::JobQueue::instance(), &Calamares::JobQueue::finished,
this, [this]
{
if ( m_currentStep != m_steps.count() -1 &&
m_steps.last()->isAtEnd() )
m_next->setEnabled( false );
else
m_next->setEnabled( true );
} );
} }
} }
else else
@ -270,7 +261,6 @@ ViewManager::next()
if ( m_currentStep == m_steps.count() -1 && if ( m_currentStep == m_steps.count() -1 &&
m_steps.last()->isAtEnd() ) m_steps.last()->isAtEnd() )
{ {
m_next->setEnabled( false );
m_quit->setText( tr( "&Quit" ) ); m_quit->setText( tr( "&Quit" ) );
} }
} }