Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2022-06-24 16:26:32 +0300
committerHannah von Reth <vonreth@kde.org>2022-06-29 14:17:46 +0300
commit3ae537b8c4dcfc9c935799baf2f6d855f679bddd (patch)
treeb21db6508714e023ed65570acaff1eb56ceba7f2 /src/gui
parent9b70ee3427fe7661a6f60de3e3016fbc4645058e (diff)
Fix folder size limit
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/folderman.cpp3
-rw-r--r--src/gui/ocwizard_deprecated.h14
2 files changed, 1 insertions, 16 deletions
diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp
index a8f3f083e..97537bacd 100644
--- a/src/gui/folderman.cpp
+++ b/src/gui/folderman.cpp
@@ -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"
@@ -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("/"));
diff --git a/src/gui/ocwizard_deprecated.h b/src/gui/ocwizard_deprecated.h
deleted file mode 100644
index 92d59e6dd..000000000
--- a/src/gui/ocwizard_deprecated.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <QObject>
-
-/*
- * These functions are all deprecated and were previously located within the wizard class.
- */
-
-namespace OCC::OwncloudWizard {
-
-[[deprecated]] static inline bool isConfirmBigFolderChecked()
-{
- qWarning() << "Currently unsupported function isConfirmBigFolderChecked called";
- return false;
-}
-}