summaryrefslogtreecommitdiffstats
path: root/backend/LegacyInstance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/LegacyInstance.cpp')
-rw-r--r--backend/LegacyInstance.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/backend/LegacyInstance.cpp b/backend/LegacyInstance.cpp
index 001400e5..b4031eb1 100644
--- a/backend/LegacyInstance.cpp
+++ b/backend/LegacyInstance.cpp
@@ -206,28 +206,36 @@ void LegacyInstance::setLWJGLVersion ( QString val )
I_D(LegacyInstance);
d->m_settings->set ( "LwjglVersion", val );
}
-QString LegacyInstance::intendedVersion() const
+QString LegacyInstance::intendedVersionId()
{
I_D(LegacyInstance);
return d->m_settings->get ( "IntendedJarVersion" ).toString();
}
-void LegacyInstance::setIntendedVersion ( QString val )
+bool LegacyInstance::setIntendedVersionId ( QString version )
{
+ /*
I_D(LegacyInstance);
d->m_settings->set ( "IntendedJarVersion", val );
+ */
+ return false;
}
bool LegacyInstance::shouldUpdate() const
{
+ /*
I_D(LegacyInstance);
QVariant var = d->m_settings->get ( "ShouldUpdate" );
if ( !var.isValid() || var.toBool() == false )
{
- return intendedVersion() != currentVersion();
+ return intendedVersionId() != currentVersion();
}
return true;
+ */
+ return false;
}
void LegacyInstance::setShouldUpdate ( bool val )
{
+ /*
I_D(LegacyInstance);
d->m_settings->set ( "ShouldUpdate", val );
+ */
}