BUGFIX: Fix possible search engine plugin update

This commit is contained in:
Christophe Dumez
2010-10-01 20:19:17 +00:00
parent a3f3287e24
commit cf86a1cecd
5 changed files with 11 additions and 3 deletions

View File

@@ -270,6 +270,7 @@ void engineSelectDlg::installPlugin(QString path, QString plugin_name) {
// Backup in case install fails
QFile::copy(dest_path, dest_path+".bak");
misc::safeRemove(dest_path);
misc::safeRemove(dest_path+"c");
update = true;
}
// Copy the plugin