mirror of
https://github.com/ioquake/launch.git
synced 2024-11-10 06:31:39 +00:00
25 lines
511 B
C++
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;
|
|
}
|