forked from teamnwah/openmw-tes3coop
18 lines
403 B
C++
18 lines
403 B
C++
#include "methodselectionpage.hpp"
|
|
|
|
#include "mainwizard.hpp"
|
|
|
|
Wizard::MethodSelectionPage::MethodSelectionPage(QWidget *parent) :
|
|
QWizardPage(parent)
|
|
{
|
|
setupUi(this);
|
|
}
|
|
|
|
int Wizard::MethodSelectionPage::nextId() const
|
|
{
|
|
if (newLocationRadioButton->isChecked()) {
|
|
return MainWizard::Page_InstallationTarget;
|
|
} else {
|
|
return MainWizard::Page_ExistingInstallation;
|
|
}
|
|
}
|