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

svn path=/trunk/KDE/kdegraphics/okular/; revision=1146408
remotes/origin/KDE/4.6
Albert Astals Cid 16 years ago
parent 820a4f3e9a
commit da58769a13
  1. 2
      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
{

Loading…
Cancel
Save