summaryrefslogtreecommitdiffstats
path: root/application/setupwizard/LanguageWizardPage.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-01-21 18:18:53 +0100
committerPetr Mrázek <peterix@gmail.com>2017-01-21 18:27:16 +0100
commit782384f185720699c5105271bfc78275bdc78054 (patch)
treeff34b04d183ffa856bb757b06f82a0a652083aa3 /application/setupwizard/LanguageWizardPage.cpp
parentceb5fc6d755cdcb263edc27386db38de9499048f (diff)
downloadMultiMC-782384f185720699c5105271bfc78275bdc78054.tar
MultiMC-782384f185720699c5105271bfc78275bdc78054.tar.gz
MultiMC-782384f185720699c5105271bfc78275bdc78054.tar.lz
MultiMC-782384f185720699c5105271bfc78275bdc78054.tar.xz
MultiMC-782384f185720699c5105271bfc78275bdc78054.zip
GH-1793 rearrange setup wizard logic to only check if they are needed once
Diffstat (limited to 'application/setupwizard/LanguageWizardPage.cpp')
-rw-r--r--application/setupwizard/LanguageWizardPage.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/application/setupwizard/LanguageWizardPage.cpp b/application/setupwizard/LanguageWizardPage.cpp
index 0613938d..b884c91a 100644
--- a/application/setupwizard/LanguageWizardPage.cpp
+++ b/application/setupwizard/LanguageWizardPage.cpp
@@ -47,14 +47,6 @@ bool LanguageWizardPage::validatePage()
return true;
}
-bool LanguageWizardPage::isRequired()
-{
- auto settings = MMC->settings();
- if (settings->get("Language").toString().isEmpty())
- return true;
- return false;
-}
-
void LanguageWizardPage::retranslate()
{
setTitle(tr("Language"));