mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-04 02:41:19 +00:00
30 lines
760 B
C++
30 lines
760 B
C++
#include "conclusionpage.hpp"
|
|
|
|
#include <QDebug>
|
|
|
|
#include "mainwizard.hpp"
|
|
|
|
Wizard::ConclusionPage::ConclusionPage(MainWizard *wizard) :
|
|
QWizardPage(wizard),
|
|
mWizard(wizard)
|
|
{
|
|
setupUi(this);
|
|
}
|
|
|
|
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."));
|
|
}
|
|
}
|
|
|
|
int Wizard::ConclusionPage::nextId() const
|
|
{
|
|
return -1;
|
|
}
|