mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 09:13:08 -07:00
Drop Qt 4 support
This commit is contained in:
parent
60998a68eb
commit
e64bb1de8c
67 changed files with 48 additions and 8809 deletions
|
@ -122,11 +122,7 @@ OptionsDialog::OptionsDialog(QWidget *parent)
|
|||
}
|
||||
}
|
||||
|
||||
#ifndef QBT_USES_QT5
|
||||
m_ui->scanFoldersView->header()->setResizeMode(QHeaderView::ResizeToContents);
|
||||
#else
|
||||
m_ui->scanFoldersView->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
|
||||
#endif
|
||||
m_ui->scanFoldersView->setModel(ScanFoldersModel::instance());
|
||||
m_ui->scanFoldersView->setItemDelegate(new ScanFoldersDelegate(this, m_ui->scanFoldersView));
|
||||
connect(ScanFoldersModel::instance(), SIGNAL(dataChanged(QModelIndex, QModelIndex)), this, SLOT(enableApplyButton()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue