[libcalamaresui] Remove the signal done() from ViewStep

- The signal is emitted, generally from next(), but not actually used.
This commit is contained in:
Adriaan de Groot 2019-02-25 07:34:40 -05:00
parent e50c2bcb44
commit 08565b5f17
14 changed files with 0 additions and 18 deletions

View File

@ -103,7 +103,6 @@ public:
signals: signals:
void nextStatusChanged( bool status ); void nextStatusChanged( bool status );
void done();
/* Emitted when the viewstep thinks it needs more space than is currently /* Emitted when the viewstep thinks it needs more space than is currently
* available for display. @p enlarge is the requested additional space, * available for display. @p enlarge is the requested additional space,

View File

@ -70,7 +70,6 @@ FinishedViewStep::widget()
void void
FinishedViewStep::next() FinishedViewStep::next()
{ {
emit done();
} }

View File

@ -56,7 +56,6 @@ InteractiveTerminalViewStep::widget()
void void
InteractiveTerminalViewStep::next() InteractiveTerminalViewStep::next()
{ {
emit done();
} }

View File

@ -68,8 +68,6 @@ KeyboardViewStep::widget()
void void
KeyboardViewStep::next() KeyboardViewStep::next()
{ {
//TODO: actually save those settings somewhere
emit done();
} }

View File

@ -62,7 +62,6 @@ LicenseViewStep::widget()
void void
LicenseViewStep::next() LicenseViewStep::next()
{ {
emit done();
} }

View File

@ -193,7 +193,6 @@ LocaleViewStep::widget()
void void
LocaleViewStep::next() LocaleViewStep::next()
{ {
emit done();
} }

View File

@ -72,7 +72,6 @@ NetInstallViewStep::widget()
void void
NetInstallViewStep::next() NetInstallViewStep::next()
{ {
emit done();
} }

View File

@ -294,23 +294,19 @@ PartitionViewStep::next()
} }
else if ( m_choicePage->currentChoice() == ChoicePage::Erase ) else if ( m_choicePage->currentChoice() == ChoicePage::Erase )
{ {
emit done();
return; return;
} }
else if ( m_choicePage->currentChoice() == ChoicePage::Alongside ) else if ( m_choicePage->currentChoice() == ChoicePage::Alongside )
{ {
emit done();
return; return;
} }
else if ( m_choicePage->currentChoice() == ChoicePage::Replace ) else if ( m_choicePage->currentChoice() == ChoicePage::Replace )
{ {
emit done();
return; return;
} }
cDebug() << "Choice applied: " << m_choicePage->currentChoice(); cDebug() << "Choice applied: " << m_choicePage->currentChoice();
return; return;
} }
emit done();
} }

View File

@ -79,7 +79,6 @@ PlasmaLnfViewStep::widget()
void void
PlasmaLnfViewStep::next() PlasmaLnfViewStep::next()
{ {
emit done();
} }

View File

@ -54,7 +54,6 @@ SummaryViewStep::widget()
void void
SummaryViewStep::next() SummaryViewStep::next()
{ {
emit done();
} }

View File

@ -70,7 +70,6 @@ TrackingViewStep::widget()
void void
TrackingViewStep::next() TrackingViewStep::next()
{ {
emit done();
} }

View File

@ -64,7 +64,6 @@ UsersViewStep::widget()
void void
UsersViewStep::next() UsersViewStep::next()
{ {
emit done();
} }

View File

@ -75,7 +75,6 @@ WebViewStep::widget()
void void
WebViewStep::next() WebViewStep::next()
{ {
emit done();
} }

View File

@ -63,7 +63,6 @@ WelcomeViewStep::widget()
void void
WelcomeViewStep::next() WelcomeViewStep::next()
{ {
emit done();
} }