mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Drop Qt 4 support
This commit is contained in:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user