From 782384f185720699c5105271bfc78275bdc78054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 21 Jan 2017 18:18:53 +0100 Subject: GH-1793 rearrange setup wizard logic to only check if they are needed once --- application/setupwizard/LanguageWizardPage.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'application/setupwizard/LanguageWizardPage.cpp') 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")); -- cgit v1.2.3