mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Fix CI errors for Edit Locally.
Signed-off-by: alex-z <blackslayer4@gmail.com>
This commit is contained in:
parent
f6ac52bcd7
commit
838817239a
2 changed files with 4 additions and 4 deletions
|
@ -831,6 +831,7 @@ bool Folder::reloadExcludes()
|
|||
|
||||
void Folder::startSync(const QStringList &pathList)
|
||||
{
|
||||
Q_UNUSED(pathList);
|
||||
const auto singleItemDiscoveryOptions = _engine->singleItemDiscoveryOptions();
|
||||
Q_ASSERT(!singleItemDiscoveryOptions.discoveryDirItem || singleItemDiscoveryOptions.discoveryDirItem->isDirectory());
|
||||
if (singleItemDiscoveryOptions.discoveryDirItem && !singleItemDiscoveryOptions.discoveryDirItem->isDirectory()) {
|
||||
|
|
|
@ -125,8 +125,11 @@ public:
|
|||
static void switchToVirtualFiles(const QString &localPath, SyncJournalDb &journal, Vfs &vfs);
|
||||
|
||||
[[nodiscard]] QSharedPointer<OwncloudPropagator> getPropagator() const { return _propagator; } // for the test
|
||||
[[nodiscard]] const SyncEngine::SingleItemDiscoveryOptions &singleItemDiscoveryOptions() const;
|
||||
|
||||
public slots:
|
||||
void setSingleItemDiscoveryOptions(const SingleItemDiscoveryOptions &singleItemDiscoveryOptions);
|
||||
|
||||
void startSync();
|
||||
|
||||
/* Abort the sync. Called from the main thread */
|
||||
|
@ -148,10 +151,6 @@ public slots:
|
|||
* sync's style.
|
||||
*/
|
||||
void setLocalDiscoveryOptions(OCC::LocalDiscoveryStyle style, std::set<QString> paths = {});
|
||||
|
||||
void setSingleItemDiscoveryOptions(const SingleItemDiscoveryOptions &singleItemDiscoveryOptions);
|
||||
[[nodiscard]] const SyncEngine::SingleItemDiscoveryOptions &singleItemDiscoveryOptions() const;
|
||||
|
||||
void addAcceptedInvalidFileName(const QString& filePath);
|
||||
|
||||
signals:
|
||||
|
|
Loading…
Reference in a new issue