diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-05-11 19:13:21 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-06-09 01:38:30 +0200 |
commit | 68ef451be5a0b8724381187f5aa123d87b82e222 (patch) | |
tree | 873aabeab988229beb95f2e8feec05ba585ace50 /gui | |
parent | e993adaf44ca3ef7f23cb26539ca741e58e8fac0 (diff) | |
download | MultiMC-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')
-rw-r--r-- | gui/MainWindow.ui | 9 | ||||
-rw-r--r-- | gui/dialogs/SettingsDialog.cpp | 9 |
2 files changed, 18 insertions, 0 deletions
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 @@ <addaction name="actionScreenshots"/> <addaction name="separator"/> <addaction name="actionEditInstance"/> + <addaction name="actionInstance_Settings"/> <addaction name="actionViewSelectedInstFolder"/> <addaction name="actionConfig_Folder"/> <addaction name="separator"/> @@ -488,6 +489,14 @@ <string><html><head/><body><p>View and upload screenshots for this instance</p></body></html></string> </property> </action> + <action name="actionInstance_Settings"> + <property name="text"> + <string>Instance Settings</string> + </property> + <property name="toolTip"> + <string>Change the settings specific to the instance</string> + </property> + </action> </widget> <layoutdefault spacing="6" margin="11"/> <resources> 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); |