From 28aa8f342ebaf34655ed0c1dd59851adb224fc64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 13 Apr 2015 23:26:52 +0200 Subject: GH-887 fix patch file removal --- logic/minecraft/MinecraftProfile.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'logic/minecraft/MinecraftProfile.cpp') diff --git a/logic/minecraft/MinecraftProfile.cpp b/logic/minecraft/MinecraftProfile.cpp index e9ff87d8..e87ece00 100644 --- a/logic/minecraft/MinecraftProfile.cpp +++ b/logic/minecraft/MinecraftProfile.cpp @@ -99,10 +99,14 @@ bool MinecraftProfile::canRemove(const int index) const bool MinecraftProfile::remove(const int index) { if (!canRemove(index)) + { + qDebug() << "Patch" << index << "is non-removable"; return false; + } if(!m_strategy->removePatch(VersionPatches.at(index))) { + qCritical() << "Patch" << index << "could not be removed"; return false; } -- cgit v1.2.3