Browse Source

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

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

1
Changelog

@ -21,6 +21,7 @@
- BUGFIX: Progress of paused torrents is now correct on restart - BUGFIX: Progress of paused torrents is now correct on restart
- BUGFIX: Progress column gets sorted on restart it is was during last execution - 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: 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 torrent properties a little
- COSMETIC: Redesigned options a little - COSMETIC: Redesigned options a little
- COSMETIC: Display more logs messages concerning features - COSMETIC: Display more logs messages concerning features

1
TODO

@ -47,3 +47,4 @@
- Fix all (or almost all) opened bugs in bug tracker - Fix all (or almost all) opened bugs in bug tracker
- Fix sorting with Qt 4.3 - Reported to Trolltech, waiting for fix - 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 {
public slots: public slots:
void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const { void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const {
QComboBox *combobox = static_cast<QComboBox*>(editor); QComboBox *combobox = static_cast<QComboBox*>(editor);
// combobox->interpretText();
int value = combobox->currentIndex(); int value = combobox->currentIndex();
qDebug("Setting combobox value in index: %d", value); qDebug("Setting combobox value in index: %d", value);
QString color; QString color;

2
src/misc.h

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

Loading…
Cancel
Save