From: APTX Date: Fri, 26 Apr 2013 18:33:03 +0000 (+0200) Subject: Correct debug message. X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=e0efc49f994d9d82054e889017bd70a0710cb36b;p=localmylist.git Correct debug message. --- diff --git a/localmylist/renamehandler.cpp b/localmylist/renamehandler.cpp index 8b11234..4511579 100644 --- a/localmylist/renamehandler.cpp +++ b/localmylist/renamehandler.cpp @@ -178,9 +178,10 @@ void RenameHandler::handleRename() dir.setFilter(QDir::NoDotAndDotDot | QDir::AllEntries); while (!dir.count()) { + // QDir::rmdir only removes empty directories if (!dir.rmdir(dir.canonicalPath())) { - qDebug() << "Failed to remove empty directory " << dir.path(); + qDebug() << "Failed to remove directory " << dir.path(); break; } if (!dir.cdUp())