Skip to content

Commit

Permalink
VFS: remove now unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOneRing committed Jul 29, 2020
1 parent 429633f commit 9f7e49b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 0 additions & 6 deletions src/common/vfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ struct OCSYNC_EXPORT VfsSetupParams
* a different presentaton to identify the accounts
*/
bool multipleAccountsRegistered = false;

/** Whether native shell integration shall be enabled
*
* For some plugins that doesn't work well in tests.
*/
bool enableShellIntegration = true;
};

/** Interface describing how to deal with virtual/placeholder files.
Expand Down
3 changes: 1 addition & 2 deletions test/syncenginetestutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ class FakeFolder
OC_ENFORCE(syncOnce());
}

void switchToVfs(QSharedPointer<OCC::Vfs> vfs, bool enableShell = false)
void switchToVfs(QSharedPointer<OCC::Vfs> vfs)
{
auto opts = _syncEngine->syncOptions();

Expand All @@ -1123,7 +1123,6 @@ class FakeFolder
vfsParams.journal = _journalDb.get();
vfsParams.providerName = "OC-TEST";
vfsParams.providerVersion = "0.1";
vfsParams.enableShellIntegration = enableShell;
QObject::connect(_syncEngine.get(), &QObject::destroyed, vfs.data(), [vfs]() {
vfs->stop();
vfs->unregisterFolder();
Expand Down

0 comments on commit 9f7e49b

Please sign in to comment.