Only reload if the changed file is our file

And not any other file in the folder
BUGS: 321880
FIXED-IN: 4.11.0
This commit is contained in:
Albert Astals Cid 2013-07-20 00:29:08 +02:00
parent ca12f8dbb5
commit 4032f0a38a

View file

@ -1562,7 +1562,7 @@ void Part::slotFileDirty( const QString& path )
m_dirtyHandler->start( 750 );
}
}
else if ( fi.isSymLink() )
else if ( fi.isSymLink() && fi.readLink() == path )
{
if ( QFile::exists( fi.readLink() ))
m_dirtyHandler->start( 750 );