diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-01-21 18:18:53 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-01-21 18:27:16 +0100 |
commit | 782384f185720699c5105271bfc78275bdc78054 (patch) | |
tree | ff34b04d183ffa856bb757b06f82a0a652083aa3 /application/setupwizard/LanguageWizardPage.cpp | |
parent | ceb5fc6d755cdcb263edc27386db38de9499048f (diff) | |
download | MultiMC-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.cpp | 8 |
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")); |