From e993adaf44ca3ef7f23cb26539ca741e58e8fac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 11 May 2014 16:43:20 +0200 Subject: Disable window titles and isons again, windows build fixes --- logic/minecraft/VersionFinal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'logic/minecraft') 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; -- cgit v1.2.3