From f6b2ccb110f0bb4071044456a93c6edc1de50922 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 25 Feb 2016 00:29:35 +0100 Subject: NOISSUE remove old unused version file features --- logic/ftb/FTBProfileStrategy.cpp | 1 - logic/ftb/OneSixFTBInstance.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'logic/ftb') diff --git a/logic/ftb/FTBProfileStrategy.cpp b/logic/ftb/FTBProfileStrategy.cpp index 0876c707..53b43eec 100644 --- a/logic/ftb/FTBProfileStrategy.cpp +++ b/logic/ftb/FTBProfileStrategy.cpp @@ -60,7 +60,6 @@ void FTBProfileStrategy::loadDefaultBuiltinPatches() for(auto addLib: file->addLibs) { addLib->m_hint = "local"; - addLib->insertType = RawLibrary::Prepend; addLib->setStoragePrefix(nativeInstance->librariesPath().absolutePath()); } file->fileId = "org.multimc.ftb.pack"; diff --git a/logic/ftb/OneSixFTBInstance.cpp b/logic/ftb/OneSixFTBInstance.cpp index 8d61997b..ebe421e0 100644 --- a/logic/ftb/OneSixFTBInstance.cpp +++ b/logic/ftb/OneSixFTBInstance.cpp @@ -87,9 +87,9 @@ void OneSixFTBInstance::copy(const QDir &newDir) { qCritical() << "Couldn't create folder structure for" << out; } - if (!QFile::copy(librariesPath().absoluteFilePath(lib->storageSuffix()), out)) + if (!QFile::copy(librariesPath().absoluteFilePath(lib.storageSuffix()), out)) { - qCritical() << "Couldn't copy" << lib->rawName(); + qCritical() << "Couldn't copy" << lib.rawName(); } } } -- cgit v1.2.3