mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Use absolute path function for directory comparison
This commit is contained in:
parent
c6aad551aa
commit
40a3b1e4e8
@ -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() ) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user