mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
Cleanup in folderman
This commit is contained in:
parent
ec850e83b9
commit
0a9a3d8f04
2 changed files with 1 additions and 16 deletions
|
@ -73,18 +73,6 @@ Mirall::Folder::Map FolderMan::map()
|
|||
return _folderMap;
|
||||
}
|
||||
|
||||
|
||||
int FolderMan::setupFolders()
|
||||
{
|
||||
// setup a handler to look for configuration changes
|
||||
return setupKnownFolders();
|
||||
}
|
||||
|
||||
void FolderMan::slotReparseConfiguration()
|
||||
{
|
||||
setupKnownFolders();
|
||||
}
|
||||
|
||||
int FolderMan::unloadAllFolders()
|
||||
{
|
||||
int cnt = 0;
|
||||
|
@ -99,7 +87,7 @@ int FolderMan::unloadAllFolders()
|
|||
return cnt;
|
||||
}
|
||||
|
||||
int FolderMan::setupKnownFolders()
|
||||
int FolderMan::setupFolders()
|
||||
{
|
||||
qDebug() << "* Setup folders from " << _folderConfigPath;
|
||||
|
||||
|
|
|
@ -99,8 +99,6 @@ public slots:
|
|||
void slotFolderSyncStarted();
|
||||
void slotFolderSyncFinished( const SyncResult& );
|
||||
|
||||
void slotReparseConfiguration();
|
||||
|
||||
void terminateSyncProcess( const QString& alias = QString::null );
|
||||
|
||||
/* delete all folder objects */
|
||||
|
@ -124,7 +122,6 @@ private slots:
|
|||
private:
|
||||
// finds all folder configuration files
|
||||
// and create the folders
|
||||
int setupKnownFolders();
|
||||
void terminateCurrentSync();
|
||||
QString getBackupName( const QString& ) const;
|
||||
|
||||
|
|
Loading…
Reference in a new issue