1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +00:00
OpenMW/apps/wizard/languageselectionpage.cpp

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;
}