Skip to content

Commit

Permalink
Fix folder size limit
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOneRing committed Jun 29, 2022
1 parent 9b70ee3 commit 3ae537b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
3 changes: 1 addition & 2 deletions src/gui/folderman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "filesystem.h"
#include "folder.h"
#include "lockwatcher.h"
#include "ocwizard_deprecated.h"
#include "selectivesyncdialog.h"
#include "socketapi/socketapi.h"
#include "syncresult.h"
Expand Down Expand Up @@ -1443,7 +1442,7 @@ Folder *FolderMan::addFolderFromWizard(AccountStatePtr accountStatePtr, const QS
if (folderDefinition.virtualFilesMode != Vfs::Off && useVfs)
newFolder->setRootPinState(PinState::OnlineOnly);

if (!OwncloudWizard::isConfirmBigFolderChecked()) {
if (!ConfigFile().newBigFolderSizeLimit().first) {
// The user already accepted the selective sync dialog. everything is in the white list
newFolder->journalDb()->setSelectiveSyncList(SyncJournalDb::SelectiveSyncWhiteList,
QStringList() << QLatin1String("/"));
Expand Down
14 changes: 0 additions & 14 deletions src/gui/ocwizard_deprecated.h

This file was deleted.

0 comments on commit 3ae537b

Please sign in to comment.