summaryrefslogtreecommitdiffstats
path: root/gui/dialogs
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-05-11 19:13:21 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-09 01:38:30 +0200
commit68ef451be5a0b8724381187f5aa123d87b82e222 (patch)
tree873aabeab988229beb95f2e8feec05ba585ace50 /gui/dialogs
parente993adaf44ca3ef7f23cb26539ca741e58e8fac0 (diff)
downloadMultiMC-68ef451be5a0b8724381187f5aa123d87b82e222.tar
MultiMC-68ef451be5a0b8724381187f5aa123d87b82e222.tar.gz
MultiMC-68ef451be5a0b8724381187f5aa123d87b82e222.tar.lz
MultiMC-68ef451be5a0b8724381187f5aa123d87b82e222.tar.xz
MultiMC-68ef451be5a0b8724381187f5aa123d87b82e222.zip
Small fixes, including release dates of some legacy versions
Diffstat (limited to 'gui/dialogs')
-rw-r--r--gui/dialogs/SettingsDialog.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/gui/dialogs/SettingsDialog.cpp b/gui/dialogs/SettingsDialog.cpp
index 4c69c785..f7333055 100644
--- a/gui/dialogs/SettingsDialog.cpp
+++ b/gui/dialogs/SettingsDialog.cpp
@@ -38,6 +38,15 @@
#include <QMessageBox>
#include <QDir>
+// FIXME: possibly move elsewhere
+enum InstSortMode
+{
+ // Sort alphabetically by name.
+ Sort_Name,
+ // Sort by which instance was launched most recently.
+ Sort_LastLaunch
+};
+
SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent), ui(new Ui::SettingsDialog)
{
MultiMCPlatform::fixWM_CLASS(this);