diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-01-18 22:20:36 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-01-18 22:20:36 +0100 |
commit | e9186d6d2c9d5e08516d6a3126440f89e55d056b (patch) | |
tree | ad04f764588aa699935c36120bfc64d78572c1d4 /logic/OneSixLibrary.cpp | |
parent | 208209e4a73e6ce75b8ecbd40b5cf7c6e9117eb5 (diff) | |
download | MultiMC-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/OneSixLibrary.cpp')
-rw-r--r-- | logic/OneSixLibrary.cpp | 3 |
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; } |