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/OneSixUpdate.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'logic/OneSixUpdate.cpp') diff --git a/logic/OneSixUpdate.cpp b/logic/OneSixUpdate.cpp index 2a7bb5b6..4b37f9aa 100644 --- a/logic/OneSixUpdate.cpp +++ b/logic/OneSixUpdate.cpp @@ -298,8 +298,8 @@ void OneSixUpdate::jarlibFinished() QString fullJarPath = entry->getFullPath(); QString fullStrippedJarPath = entryStripped->getFullPath(); - - if (entry->md5sum != jarHashOnEntry || !QFileInfo::exists(fullStrippedJarPath)) + QFileInfo finfo(fullStrippedJarPath); + if (entry->md5sum != jarHashOnEntry || !finfo.exists()) { stripJar(fullJarPath, fullStrippedJarPath); } @@ -500,4 +500,4 @@ void OneSixUpdate::fmllibsFailed() { emitFailed("Game update failed: it was impossible to fetch the required FML libraries."); return; -} \ No newline at end of file +} -- cgit v1.2.3