- Delete torrent permanently from hard drive used to delete parent folder if empty (fixed)

This commit is contained in:
Christophe Dumez 2007-06-30 19:19:09 +00:00
parent d12e510fad
commit e2427a4ce2
4 changed files with 4 additions and 3 deletions

View file

@ -21,6 +21,7 @@
- BUGFIX: Progress of paused torrents is now correct on restart
- BUGFIX: Progress column gets sorted on restart it is was during last execution
- BUGFIX: Made ETA more reliable using stats instead of instant values
- BUGFIX: Remove torrent from hard drive used to delete parent folder if empty
- COSMETIC: Redesigned torrent properties a little
- COSMETIC: Redesigned options a little
- COSMETIC: Display more logs messages concerning features

1
TODO
View file

@ -47,3 +47,4 @@
- Fix all (or almost all) opened bugs in bug tracker
- Fix sorting with Qt 4.3 - Reported to Trolltech, waiting for fix
- update sorting when a new torrent is added
- fix file filtering in a torrent

View file

@ -186,7 +186,6 @@ class PropListDelegate: public QItemDelegate {
public slots:
void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const {
QComboBox *combobox = static_cast<QComboBox*>(editor);
// combobox->interpretText();
int value = combobox->currentIndex();
qDebug("Setting combobox value in index: %d", value);
QString color;

View file

@ -116,7 +116,7 @@ class misc : public QObject{
}
}
// Remove empty folder
if(current_dir.rmpath(path)){
if(current_dir.rmdir(path)){
return true;
}else{
return false;