From 68ef451be5a0b8724381187f5aa123d87b82e222 Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Sun, 11 May 2014 19:13:21 +0200 Subject: Small fixes, including release dates of some legacy versions --- gui/MainWindow.ui | 9 +++++++++ gui/dialogs/SettingsDialog.cpp | 9 +++++++++ 2 files changed, 18 insertions(+) (limited to 'gui') diff --git a/gui/MainWindow.ui b/gui/MainWindow.ui index 8ee196fd..188433e9 100644 --- a/gui/MainWindow.ui +++ b/gui/MainWindow.ui @@ -116,6 +116,7 @@ + @@ -488,6 +489,14 @@ <html><head/><body><p>View and upload screenshots for this instance</p></body></html> + + + Instance Settings + + + Change the settings specific to the instance + + 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 #include +// 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); -- cgit