mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Fix setting custom download location for watched folder
This commit is contained in:
committed by
sledgehammer999
parent
bc92f156c1
commit
ed7fb20758
@@ -46,18 +46,17 @@ class ScanFoldersDelegate : public QItemDelegate
|
||||
|
||||
public:
|
||||
ScanFoldersDelegate(QObject *parent, QTreeView *foldersView);
|
||||
~ScanFoldersDelegate();
|
||||
|
||||
private slots:
|
||||
void comboboxIndexChanged(int index);
|
||||
|
||||
private:
|
||||
void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const;
|
||||
void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &) const;
|
||||
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
||||
void setEditorData(QWidget *editor, const QModelIndex &index) const;
|
||||
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &, const QModelIndex &index) const;
|
||||
|
||||
public slots:
|
||||
void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const;
|
||||
void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &) const;
|
||||
void comboboxIndexChanged(int index);
|
||||
|
||||
private:
|
||||
QTreeView *m_folderView;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user