From kde-commits Tue Apr 12 22:31:30 2005 From: David Faure Date: Tue, 12 Apr 2005 22:31:30 +0000 To: kde-commits Subject: kdelibs/kio/kio Message-Id: <20050412223130.022A23C3 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111334510828493 CVS commit by faure: Don't call KDirWatch for remote urls, fixes a runtime warning when reloading a FTP url. M +1 -1 kdirlister_p.h 1.38 --- kdelibs/kio/kio/kdirlister_p.h #1.37:1.38 @@ -240,5 +240,5 @@ private: if ( autoUpdates ) { - if ( KDirWatch::exists() ) + if ( KDirWatch::exists() && url.isLocalFile() ) kdirwatch->removeDir( url.path() ); sendSignal( false, url );