mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 22:22:33 -06:00
- Added Collapse/Expand all buttons to torrent addition dialog (closes #272654)
This commit is contained in:
@@ -78,6 +78,8 @@ class torrentAdditionDialog : public QDialog, private Ui_addTorrentDialog{
|
||||
connect(actionNormal, SIGNAL(triggered()), this, SLOT(normalSelection()));
|
||||
connect(actionHigh, SIGNAL(triggered()), this, SLOT(highSelection()));
|
||||
connect(actionMaximum, SIGNAL(triggered()), this, SLOT(maximumSelection()));
|
||||
connect(collapseAllButton, SIGNAL(clicked()), torrentContentList, SLOT(collapseAll()));
|
||||
connect(expandAllButton, SIGNAL(clicked()), torrentContentList, SLOT(expandAll()));
|
||||
torrentContentList->header()->resizeSection(0, 200);
|
||||
//torrentContentList->header()->setResizeMode(0, QHeaderView::Stretch);
|
||||
QString home = QDir::homePath();
|
||||
|
||||
Reference in New Issue
Block a user