launch/installwizard_eula.cpp
2014-05-16 21:33:57 +10:00

25 lines
511 B
C++

#include "installwizard_eula.h"
#include "ui_installwizard_eula.h"
#include "installwizard.h"
InstallWizard_Eula::InstallWizard_Eula(QWidget *parent) :
QWizardPage(parent),
ui(new Ui::InstallWizard_Eula)
{
ui->setupUi(this);
}
InstallWizard_Eula::~InstallWizard_Eula()
{
delete ui;
}
int InstallWizard_Eula::nextId() const
{
if (!((InstallWizard *)wizard())->getFileCopyOperations().isEmpty())
{
return InstallWizard::Page_Copy;
}
return InstallWizard::Page_Patch;
}