From da58769a137bc4eeb28e89a2a9f0e21c151a5b75 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Mon, 5 Jul 2010 22:48:09 +0000 Subject: [PATCH] =?UTF-8?q?Finish=20the=20forwardport=20of=20r1146401=20ok?= =?UTF-8?q?ular/branches/KDE/4.5/kdegraphics/okular/part.cpp:=20Only=20sta?= =?UTF-8?q?rt=20watching=20the=20file=20in=20case=20if=20it=20wasn't=20rem?= =?UTF-8?q?oved,=20thus=20was=20modified=20Patch=20by=20Victor=20Bl=C3=A1z?= =?UTF-8?q?quez=20Fixes=20bug=20234139?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/KDE/kdegraphics/okular/; revision=1146408 --- part.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/part.cpp b/part.cpp index bc19ec83e..f6ea29724 100644 --- a/part.cpp +++ b/part.cpp @@ -1157,6 +1157,8 @@ void Part::slotFileDirty( const QString& path ) // Only start watching the file in case if it wasn't removed if (QFile::exists(localFilePath())) m_dirtyHandler->start( 750 ); + else + m_fileWasRemoved = true; } else {