summaryrefslogtreecommitdiffstats
path: root/application/pages/modplatform/TechnicPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'application/pages/modplatform/TechnicPage.cpp')
-rw-r--r--application/pages/modplatform/TechnicPage.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/application/pages/modplatform/TechnicPage.cpp b/application/pages/modplatform/TechnicPage.cpp
new file mode 100644
index 00000000..c0f4faa5
--- /dev/null
+++ b/application/pages/modplatform/TechnicPage.cpp
@@ -0,0 +1,29 @@
+#include "TechnicPage.h"
+#include "ui_TechnicPage.h"
+
+#include "MultiMC.h"
+#include "FolderInstanceProvider.h"
+#include "dialogs/CustomMessageBox.h"
+#include "dialogs/ProgressDialog.h"
+#include "dialogs/NewInstanceDialog.h"
+
+TechnicPage::TechnicPage(NewInstanceDialog* dialog, QWidget *parent)
+ : QWidget(parent), ui(new Ui::TechnicPage), dialog(dialog)
+{
+ ui->setupUi(this);
+}
+
+TechnicPage::~TechnicPage()
+{
+ delete ui;
+}
+
+bool TechnicPage::shouldDisplay() const
+{
+ return true;
+}
+
+void TechnicPage::openedImpl()
+{
+ dialog->setSuggestedPack();
+}