summaryrefslogtreecommitdiffstats
path: root/logic
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-01-18 22:20:36 +0100
committerPetr Mrázek <peterix@gmail.com>2014-01-18 22:20:36 +0100
commite9186d6d2c9d5e08516d6a3126440f89e55d056b (patch)
treead04f764588aa699935c36120bfc64d78572c1d4 /logic
parent208209e4a73e6ce75b8ecbd40b5cf7c6e9117eb5 (diff)
downloadMultiMC-e9186d6d2c9d5e08516d6a3126440f89e55d056b.tar
MultiMC-e9186d6d2c9d5e08516d6a3126440f89e55d056b.tar.gz
MultiMC-e9186d6d2c9d5e08516d6a3126440f89e55d056b.tar.lz
MultiMC-e9186d6d2c9d5e08516d6a3126440f89e55d056b.tar.xz
MultiMC-e9186d6d2c9d5e08516d6a3126440f89e55d056b.zip
DERP DERP DERP
DERP ALERT. DUCK AND COVER!
Diffstat (limited to 'logic')
-rw-r--r--logic/OneSixLibrary.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/logic/OneSixLibrary.cpp b/logic/OneSixLibrary.cpp
index 510be52b..d1eceb0e 100644
--- a/logic/OneSixLibrary.cpp
+++ b/logic/OneSixLibrary.cpp
@@ -158,7 +158,8 @@ bool OneSixLibrary::filesExist()
}
else
{
- if (!QFileInfo::exists(PathCombine("libraries", storage)))
+ QFileInfo info(PathCombine("libraries", storage));
+ if (!info.exists())
{
return false;
}