Cleanup in folderman

This commit is contained in:
Daniel Molkentin 2013-11-18 09:35:18 +01:00
parent ec850e83b9
commit 0a9a3d8f04
2 changed files with 1 additions and 16 deletions

View file

@ -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;

View file

@ -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;