1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 10:23:51 +00:00
openmw-tes3mp/apps/wizard/conclusionpage.cpp

30 lines
760 B
C++
Raw Normal View History

2013-12-08 20:35:57 +00:00
#include "conclusionpage.hpp"
#include <QDebug>
#include "mainwizard.hpp"
Wizard::ConclusionPage::ConclusionPage(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::ConclusionPage::initializePage()
{
if (field("installation.new").toBool() == true)
{
textLabel->setText(tr("The OpenMW Wizard successfully installed Morrowind on your computer.\n\n") +
tr("Click Finish to close the Wizard."));
} else {
textLabel->setText(tr("The OpenMW Wizard successfully modified your existing Morrowind installation.\n\n") +
tr("Click Finish to close the Wizard."));
}
}
2013-12-08 21:58:29 +00:00
int Wizard::ConclusionPage::nextId() const
{
return -1;
}