summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}