From kde-commits Thu Oct 02 13:35:47 2003 From: Laurent Montel Date: Thu, 02 Oct 2003 13:35:47 +0000 To: kde-commits Subject: KDE_3_1_BRANCH: kdebase/kdesktop X-MARC-Message: https://marc.info/?l=kde-commits&m=106510174704197 CVS commit by mlaurent: Backport fix rename directly directory when we don't have a ".directory" M +1 -1 kdiconview.cc 1.66.2.7 --- kdebase/kdesktop/kdiconview.cc #1.66.2.6:1.66.2.7 @@ -918,5 +918,5 @@ void KDIconView::slotItemRenamed(QIconVi } - if (bDesktopFile) + if (QFile(desktopFile).exists() && bDesktopFile) { renameDesktopFile(desktopFile, name);