summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/VersionFinal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/minecraft/VersionFinal.cpp')
-rw-r--r--logic/minecraft/VersionFinal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/minecraft/VersionFinal.cpp b/logic/minecraft/VersionFinal.cpp
index cc61da71..c834bebc 100644
--- a/logic/minecraft/VersionFinal.cpp
+++ b/logic/minecraft/VersionFinal.cpp
@@ -68,7 +68,7 @@ bool VersionFinal::preremove(VersionPatchPtr patch)
{
QString fullpath =PathCombine(m_instance->jarModsDir(), jarmod->name);
QFileInfo finfo (fullpath);
- if(finfo.exists(fullpath))
+ if(finfo.exists())
ok &= QFile::remove(fullpath);
}
return ok;