From e0efc49f994d9d82054e889017bd70a0710cb36b Mon Sep 17 00:00:00 2001 From: APTX Date: Fri, 26 Apr 2013 20:33:03 +0200 Subject: [PATCH] Correct debug message. --- localmylist/renamehandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()) -- 2.52.0