mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
19 lines
418 B
C++
19 lines
418 B
C++
#include "languageselectionpage.hpp"
|
|
|
|
#include "mainwizard.hpp"
|
|
|
|
Wizard::LanguageSelectionPage::LanguageSelectionPage(MainWizard *wizard) :
|
|
QWizardPage(wizard),
|
|
mWizard(wizard)
|
|
{
|
|
setupUi(this);
|
|
}
|
|
|
|
int Wizard::LanguageSelectionPage::nextId() const
|
|
{
|
|
if (field("installation.new").toBool() == true)
|
|
return MainWizard::Page_InstallationTarget;
|
|
|
|
return MainWizard::Page_ExistingInstallation;
|
|
}
|