зеркало из https://github.com/nextcloud/desktop.git
remove unused variable and functions
This commit is contained in:
Родитель
3a9c485515
Коммит
be874e36da
|
@ -156,16 +156,6 @@ int FolderMan::setupFolders()
|
|||
// return the number of valid folders.
|
||||
return _folderMap.size();
|
||||
}
|
||||
|
||||
void FolderMan::wipeAllJournals()
|
||||
{
|
||||
terminateCurrentSync();
|
||||
|
||||
foreach( Folder *f, _folderMap.values() ) {
|
||||
f->wipe();
|
||||
}
|
||||
}
|
||||
|
||||
bool FolderMan::ensureJournalGone(const QString &localPath)
|
||||
{
|
||||
|
||||
|
@ -372,12 +362,7 @@ Folder *FolderMan::folder( const QString& alias )
|
|||
SyncResult FolderMan::syncResult( const QString& alias )
|
||||
{
|
||||
Folder *f = folder( alias );
|
||||
return syncResult(f);
|
||||
}
|
||||
|
||||
SyncResult FolderMan::syncResult( Folder *f )
|
||||
{
|
||||
return f ? f->syncResult() : SyncResult();
|
||||
return f ? f->syncResult() : SyncResult();
|
||||
}
|
||||
|
||||
void FolderMan::slotScheduleAllFolders()
|
||||
|
|
|
@ -59,18 +59,12 @@ public:
|
|||
/** Returns the last sync result by alias */
|
||||
SyncResult syncResult( const QString& );
|
||||
|
||||
/** Returns the last sync result by Folder */
|
||||
SyncResult syncResult( Folder* );
|
||||
|
||||
/** Creates a folder for a specific configuration, identified by alias. */
|
||||
Folder* setupFolderFromConfigFile(const QString & );
|
||||
|
||||
/** Wipes all folder defintions. No way back! */
|
||||
void removeAllFolderDefinitions();
|
||||
|
||||
/** Removes csync journals from all folders. */
|
||||
void wipeAllJournals();
|
||||
|
||||
/**
|
||||
* Ensures that a given directory does not contain a .csync_journal.
|
||||
*
|
||||
|
@ -145,7 +139,6 @@ private:
|
|||
QString _currentSyncFolder;
|
||||
bool _syncEnabled;
|
||||
QQueue<QString> _scheduleQueue;
|
||||
bool _dirtyProxy; // If the proxy need to be re-configured
|
||||
QMap<QString, FolderWatcher*> _folderWatchers;
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче