mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
slotFolderDiscovered: Fix 'local' always being false
It was unused, so no harm done.
This commit is contained in:
parent
5e2270bd57
commit
8077748c9d
2 changed files with 2 additions and 3 deletions
|
@ -40,7 +40,7 @@ csync_vio_handle_t *csync_vio_opendir(CSYNC *ctx, const char *name) {
|
|||
break;
|
||||
case LOCAL_REPLICA:
|
||||
if( ctx->callbacks.update_callback ) {
|
||||
ctx->callbacks.update_callback(ctx->current, name, ctx->callbacks.update_callback_userdata);
|
||||
ctx->callbacks.update_callback(/*local=*/true, name, ctx->callbacks.update_callback_userdata);
|
||||
}
|
||||
return csync_vio_local_opendir(name);
|
||||
break;
|
||||
|
|
|
@ -470,8 +470,7 @@ void DiscoveryMainThread::doOpendirSlot(const QString &subPath, DiscoveryDirecto
|
|||
fullPath.chop(1);
|
||||
}
|
||||
|
||||
// emit _discoveryJob->folderDiscovered(false, subPath);
|
||||
_discoveryJob->update_job_update_callback(false, subPath.toUtf8(), _discoveryJob);
|
||||
_discoveryJob->update_job_update_callback(/*local=*/false, subPath.toUtf8(), _discoveryJob);
|
||||
|
||||
// Result gets written in there
|
||||
_currentDiscoveryDirectoryResult = r;
|
||||
|
|
Loading…
Reference in a new issue