From 351c69c300d208403065051485f4054294e8840c Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Fri, 20 Nov 2015 18:11:46 +0100 Subject: [PATCH] Remove obsolete code. CAL-340 #close --- src/libcalamaresui/ViewManager.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/libcalamaresui/ViewManager.cpp b/src/libcalamaresui/ViewManager.cpp index d02cd3ba1..ad433d2fa 100644 --- a/src/libcalamaresui/ViewManager.cpp +++ b/src/libcalamaresui/ViewManager.cpp @@ -248,15 +248,6 @@ ViewManager::next() { m_back->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 @@ -270,7 +261,6 @@ ViewManager::next() if ( m_currentStep == m_steps.count() -1 && m_steps.last()->isAtEnd() ) { - m_next->setEnabled( false ); m_quit->setText( tr( "&Quit" ) ); } }