|
|
|
@ -17,8 +17,10 @@
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "FinishedViewStep.h"
|
|
|
|
|
|
|
|
|
|
#include "FinishedPage.h"
|
|
|
|
|
#include "JobQueue.h"
|
|
|
|
|
|
|
|
|
|
#include "utils/Logger.h"
|
|
|
|
|
|
|
|
|
|
#include <QVariantMap>
|
|
|
|
|
|
|
|
|
@ -26,6 +28,11 @@ FinishedViewStep::FinishedViewStep( QObject* parent )
|
|
|
|
|
: Calamares::ViewStep( parent )
|
|
|
|
|
, m_widget( new FinishedPage() )
|
|
|
|
|
{
|
|
|
|
|
cDebug() << "FinishedViewStep()";
|
|
|
|
|
|
|
|
|
|
connect( Calamares::JobQueue::instance(), &Calamares::JobQueue::failed,
|
|
|
|
|
m_widget, &FinishedPage::onInstallationFailed );
|
|
|
|
|
|
|
|
|
|
emit nextStatusChanged( true );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -47,6 +54,7 @@ FinishedViewStep::prettyName() const
|
|
|
|
|
QWidget*
|
|
|
|
|
FinishedViewStep::widget()
|
|
|
|
|
{
|
|
|
|
|
cDebug() << "FinishedViewStep::widget()";
|
|
|
|
|
return m_widget;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -94,6 +102,7 @@ FinishedViewStep::isAtEnd() const
|
|
|
|
|
void
|
|
|
|
|
FinishedViewStep::onActivate()
|
|
|
|
|
{
|
|
|
|
|
cDebug() << "FinishedViewStep::onActivate()";
|
|
|
|
|
m_widget->setUpRestart();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -101,6 +110,7 @@ FinishedViewStep::onActivate()
|
|
|
|
|
QList< Calamares::job_ptr >
|
|
|
|
|
FinishedViewStep::jobs() const
|
|
|
|
|
{
|
|
|
|
|
cDebug() << "FinishedViewStep::jobs";
|
|
|
|
|
return QList< Calamares::job_ptr >();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|