mirror of
https://github.com/ioquake/launch.git
synced 2024-11-22 03:21:23 +00:00
25 lines
502 B
C++
25 lines
502 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())->getCopyFiles().isEmpty())
|
|
{
|
|
return InstallWizard::Page_Copy;
|
|
}
|
|
|
|
return InstallWizard::Page_Patch;
|
|
}
|