Small fixes, including release dates of some legacy versions

This commit is contained in:
Petr Mrázek
2014-05-11 19:13:21 +02:00
parent e993adaf44
commit 68ef451be5
7 changed files with 64 additions and 22 deletions

View File

@ -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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;View and upload screenshots for this instance&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>

View File

@ -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);