Use absolute path function for directory comparison

This commit is contained in:
Klaas Freitag 2012-06-26 12:27:50 +02:00
parent c6aad551aa
commit 40a3b1e4e8

View File

@ -271,7 +271,7 @@ void ownCloudFolder::slotLocalPathChanged( const QString& dir )
QDir notifiedDir(dir);
QDir localPath( path() );
if( notifiedDir == localPath ) {
if( notifiedDir.absolutePath() == localPath.absolutePath() ) {
if( !localPath.exists() ) {
qDebug() << "XXXXXXX The sync folder root was removed!!";
if( _csync && _csync->isRunning() ) {