mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 11:16:20 +03:00
Allow double-click in preview dialog
This commit is contained in:
parent
37d7323ac0
commit
c5177eae9f
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ PreviewSelectDialog::PreviewSelectDialog(QWidget *parent, const BitTorrent::Torr
|
|||
m_ui->buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Preview"));
|
||||
connect(m_ui->buttonBox, &QDialogButtonBox::accepted, this, &PreviewSelectDialog::previewButtonClicked);
|
||||
connect(m_ui->buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
|
||||
connect(m_ui->previewList, &QAbstractItemView::doubleClicked, this, &PreviewSelectDialog::previewButtonClicked);
|
||||
|
||||
const Preferences *pref = Preferences::instance();
|
||||
// Preview list
|
||||
|
|
Loading…
Reference in a new issue