From f0bfbb4caadf4cb61d4da3274cc47617276d5d3a Mon Sep 17 00:00:00 2001 From: Christopher Reichert Date: Tue, 5 Jul 2011 18:31:06 -0500 Subject: [PATCH] Remove symlink target from m_watcher if added. --- part.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/part.cpp b/part.cpp index c133b965a..5b0346d71 100644 --- a/part.cpp +++ b/part.cpp @@ -1132,6 +1132,7 @@ bool Part::closeUrl() m_watcher->removeFile( localFilePath() ); QFileInfo fi(localFilePath()); m_watcher->removeDir( fi.absolutePath() ); + if ( fi.isSymLink() ) m_watcher->removeFile( fi.readLink() ); } m_fileWasRemoved = false; if ( m_generatorGuiClient )