2013-11-04 01:53:05 +00:00
|
|
|
/* Copyright 2013 MultiMC Contributors
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2013-08-11 17:58:24 +01:00
|
|
|
#include "NostalgiaInstance.h"
|
|
|
|
|
2013-11-04 01:53:05 +00:00
|
|
|
NostalgiaInstance::NostalgiaInstance(const QString &rootDir, SettingsObject *settings,
|
|
|
|
QObject *parent)
|
|
|
|
: OneSixInstance(rootDir, settings, parent)
|
2013-08-11 17:58:24 +01:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2013-08-25 00:32:42 +01:00
|
|
|
QString NostalgiaInstance::getStatusbarDescription()
|
|
|
|
{
|
2014-03-10 16:38:27 +00:00
|
|
|
if (flags().contains(VersionBrokenFlag))
|
2014-02-17 19:31:50 +00:00
|
|
|
{
|
|
|
|
return "Nostalgia : " + intendedVersionId() + " (broken)";
|
|
|
|
}
|
2013-08-25 00:32:42 +01:00
|
|
|
return "Nostalgia : " + intendedVersionId();
|
|
|
|
}
|
|
|
|
|
2013-10-07 22:09:50 +01:00
|
|
|
bool NostalgiaInstance::menuActionEnabled(QString action_name) const
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|