diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-09-22 00:13:07 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-09-22 00:13:07 +0200 |
commit | 76c7e0fe1c23de3ed6f988dac11e72ec2ef6c198 (patch) | |
tree | cb09ecb65784ccfa5091228475af4c7da986da71 /api | |
parent | fce2b0ce5fe07427fc82061bbeb8bed725432ac1 (diff) | |
download | MultiMC-76c7e0fe1c23de3ed6f988dac11e72ec2ef6c198.tar MultiMC-76c7e0fe1c23de3ed6f988dac11e72ec2ef6c198.tar.gz MultiMC-76c7e0fe1c23de3ed6f988dac11e72ec2ef6c198.tar.lz MultiMC-76c7e0fe1c23de3ed6f988dac11e72ec2ef6c198.tar.xz MultiMC-76c7e0fe1c23de3ed6f988dac11e72ec2ef6c198.zip |
NOISSUE remove some dead code from MinecraftInstance (moved elsewhere)
Diffstat (limited to 'api')
-rw-r--r-- | api/logic/minecraft/MinecraftInstance.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/api/logic/minecraft/MinecraftInstance.cpp b/api/logic/minecraft/MinecraftInstance.cpp index 224e5da9..b408b07b 100644 --- a/api/logic/minecraft/MinecraftInstance.cpp +++ b/api/logic/minecraft/MinecraftInstance.cpp @@ -336,24 +336,6 @@ QMap<QString, QString> MinecraftInstance::getVariables() const return out; } -static QString processLD_LIBRARY_PATH(const QString & LD_LIBRARY_PATH) -{ - QDir mmcBin(QCoreApplication::applicationDirPath()); - auto items = LD_LIBRARY_PATH.split(':'); - QStringList final; - for(auto & item: items) - { - QDir test(item); - if(test == mmcBin) - { - qDebug() << "Env:LD_LIBRARY_PATH ignoring path" << item; - continue; - } - final.append(item); - } - return final.join(':'); -} - QProcessEnvironment MinecraftInstance::createEnvironment() { // prepare the process environment |