2014-05-13 10:15:00 +00:00
|
|
|
#include "installwizard_eula.h"
|
|
|
|
#include "ui_installwizard_eula.h"
|
2014-05-14 12:33:47 +00:00
|
|
|
#include "installwizard.h"
|
2014-05-13 10:15:00 +00:00
|
|
|
|
|
|
|
InstallWizard_Eula::InstallWizard_Eula(QWidget *parent) :
|
|
|
|
QWizardPage(parent),
|
|
|
|
ui(new Ui::InstallWizard_Eula)
|
|
|
|
{
|
|
|
|
ui->setupUi(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
InstallWizard_Eula::~InstallWizard_Eula()
|
|
|
|
{
|
|
|
|
delete ui;
|
|
|
|
}
|
2014-05-14 12:33:47 +00:00
|
|
|
|
|
|
|
int InstallWizard_Eula::nextId() const
|
|
|
|
{
|
2014-05-15 04:20:50 +00:00
|
|
|
if (!((InstallWizard *)wizard())->getCopyFiles().isEmpty())
|
2014-05-14 12:33:47 +00:00
|
|
|
{
|
|
|
|
return InstallWizard::Page_Copy;
|
|
|
|
}
|
|
|
|
|
|
|
|
return InstallWizard::Page_Patch;
|
|
|
|
}
|