QString LegacyInstance::getStatusbarDescription() { if (flags().contains(VersionBrokenFlag)) { return "Legacy : " + intendedVersionId() + " (broken)"; } if (shouldUpdate()) return "Legacy : " + currentVersionId() + " -> " + intendedVersionId(); else return "Legacy : " + currentVersionId(); }
QString LegacyInstance::getStatusbarDescription() { if (shouldUpdate()) return "Legacy : " + currentVersionId() + " -> " + intendedVersionId(); else return "Legacy : " + currentVersionId(); }
bool LegacyInstance::shouldUpdate() const { QVariant var = settings().get("ShouldUpdate"); if (!var.isValid() || var.toBool() == false) { return intendedVersionId() != currentVersionId(); } return true; }
QString OneSixInstance::getStatusbarDescription() { QString descr = "One Six : " + intendedVersionId(); if (versionIsCustom()) { descr + " (custom)"; } return descr; }
QString OneSixInstance::getStatusbarDescription() { return "One Six : " + intendedVersionId(); }
QString OneSixInstance::defaultBaseJar() const { return "versions/" + intendedVersionId() + "/" + intendedVersionId() + ".jar"; }
QString OneSixInstance::currentVersionId() const { return intendedVersionId(); }
QString NostalgiaInstance::getStatusbarDescription() { return "Nostalgia : " + intendedVersionId(); }