Browse Source

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

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
e2427a4ce2
  1. 1
      Changelog
  2. 3
      TODO
  3. 1
      src/PropListDelegate.h
  4. 2
      src/misc.h

1
Changelog

@ -21,6 +21,7 @@ @@ -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

3
TODO

@ -46,4 +46,5 @@ @@ -46,4 +46,5 @@
- Allow to scan multiple directories
- 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
- update sorting when a new torrent is added
- fix file filtering in a torrent

1
src/PropListDelegate.h

@ -186,7 +186,6 @@ class PropListDelegate: public QItemDelegate { @@ -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;

2
src/misc.h

@ -116,7 +116,7 @@ class misc : public QObject{ @@ -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;

Loading…
Cancel
Save