Fix scan dirs saving

This commit is contained in:
Christophe Dumez
2010-12-27 19:28:41 +00:00
parent eed0b6ca12
commit 28409b83c3
7 changed files with 15 additions and 7 deletions

View File

@@ -341,7 +341,7 @@ void options_imp::saveOptions(){
pref.preAllocateAllFiles(preAllocateAllFiles());
pref.useAdditionDialog(useAdditionDialog());
pref.addTorrentsInPause(addTorrentsInPause());
ScanFoldersModel::instance()->makePersistent(pref);
ScanFoldersModel::instance()->makePersistent();
addedScanDirs.clear();
QString export_dir = getExportDir();
#if defined(Q_WS_WIN) || defined(Q_OS_OS2)