[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegraphics/okular
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2010-07-05 22:48:09
Message-ID: 20100705224809.4C92DAC85D () svn ! kde ! org
[Download RAW message or body]

SVN commit 1146408 by aacid:

Finish the forwardport of r1146401 okular/branches/KDE/4.5/kdegraphics/okular/part.cpp: 
Only start watching the file in case if it wasn't removed, thus was modified
Patch by Victor Blázquez
Fixes bug 234139


 M  +2 -0      part.cpp  


--- trunk/KDE/kdegraphics/okular/part.cpp #1146407:1146408
@@ -1157,6 +1157,8 @@
         // 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
     {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic