summaryrefslogtreecommitdiffstats
path: root/application/setupwizard/LanguageWizardPage.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2019-01-09 04:38:35 +0100
committerPetr Mrázek <peterix@gmail.com>2019-01-09 04:38:35 +0100
commitc08053d8b87de4d0fd4f9ac51021e03dfd851420 (patch)
tree8c947a06781438d8dc2e139e81634bf39b7f3a76 /application/setupwizard/LanguageWizardPage.h
parente71786d7b97c6e3b7aa91d085c935ef67832abc3 (diff)
downloadMultiMC-c08053d8b87de4d0fd4f9ac51021e03dfd851420.tar
MultiMC-c08053d8b87de4d0fd4f9ac51021e03dfd851420.tar.gz
MultiMC-c08053d8b87de4d0fd4f9ac51021e03dfd851420.tar.lz
MultiMC-c08053d8b87de4d0fd4f9ac51021e03dfd851420.tar.xz
MultiMC-c08053d8b87de4d0fd4f9ac51021e03dfd851420.zip
NOISSUE split out language selection widget, use it in settings
Diffstat (limited to 'application/setupwizard/LanguageWizardPage.h')
-rw-r--r--application/setupwizard/LanguageWizardPage.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/application/setupwizard/LanguageWizardPage.h b/application/setupwizard/LanguageWizardPage.h
index bfc02c95..45a0e5c0 100644
--- a/application/setupwizard/LanguageWizardPage.h
+++ b/application/setupwizard/LanguageWizardPage.h
@@ -2,9 +2,7 @@
#include "BaseWizardPage.h"
-class QVBoxLayout;
-class QTreeView;
-class QLabel;
+class LanguageSelectionWidget;
class LanguageWizardPage : public BaseWizardPage
{
@@ -23,11 +21,6 @@ public:
protected:
void retranslate() override;
-protected slots:
- void languageRowChanged(const QModelIndex &current, const QModelIndex &previous);
-
private:
- QVBoxLayout *verticalLayout = nullptr;
- QTreeView *languageView = nullptr;
- QLabel *helpUsLabel = nullptr;
+ LanguageSelectionWidget *mainWidget = nullptr;
};