1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00
OpenMW/apps/wizard/installationpage.cpp

26 lines
584 B
C++
Raw Normal View History

2013-12-08 20:35:57 +00:00
#include "installationpage.hpp"
#include <QDebug>
2013-12-08 21:58:29 +00:00
#include "mainwizard.hpp"
Wizard::InstallationPage::InstallationPage(MainWizard *wizard) :
QWizardPage(wizard),
mWizard(wizard)
2013-12-08 20:35:57 +00:00
{
setupUi(this);
}
2013-12-08 21:58:29 +00:00
void Wizard::InstallationPage::initializePage()
{
QString path = field("installation.path").toString();
qDebug() << "installing to: " << field("installation.path").toString();
logTextEdit->setText(QString("Installing to %1").arg(field("installation.path").toString()));
}
2013-12-08 21:58:29 +00:00
int Wizard::InstallationPage::nextId() const
{
return MainWizard::Page_Import;
}