mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
committed by
GitHub
parent
66f3cf7e67
commit
e1ebf8374e
@@ -130,14 +130,14 @@ namespace
|
||||
|
||||
TransferListWidget::TransferListWidget(IGUIApplication *app, QWidget *parent)
|
||||
: GUIApplicationComponent(app, parent)
|
||||
, m_listModel {new TransferListModel {this}}
|
||||
, m_sortFilterModel {new TransferListSortModel {this}}
|
||||
, m_listModel {new TransferListModel(this)}
|
||||
, m_sortFilterModel {new TransferListSortModel(this)}
|
||||
{
|
||||
// Load settings
|
||||
const bool columnLoaded = loadSettings();
|
||||
|
||||
// Create and apply delegate
|
||||
setItemDelegate(new TransferListDelegate {this});
|
||||
setItemDelegate(new TransferListDelegate(this));
|
||||
|
||||
m_sortFilterModel->setDynamicSortFilter(true);
|
||||
m_sortFilterModel->setSourceModel(m_listModel);
|
||||
|
||||
Reference in New Issue
Block a user