mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 06:13:36 -07:00
Fix coding style inconsistency
Co-authored-by: Vladimir Golovnev <glassez@yandex.ru>
This commit is contained in:
parent
2709cd3b0f
commit
a7a83b4f35
1 changed files with 2 additions and 1 deletions
|
@ -1444,7 +1444,8 @@ void TransferListWidget::wheelEvent(QWheelEvent *event)
|
||||||
QTreeView::wheelEvent(event); // event delegated to base class
|
QTreeView::wheelEvent(event); // event delegated to base class
|
||||||
}
|
}
|
||||||
|
|
||||||
void TransferListWidget::openPreviewSelectDialog(const BitTorrent::Torrent *torrent) {
|
void TransferListWidget::openPreviewSelectDialog(const BitTorrent::Torrent *torrent)
|
||||||
|
{
|
||||||
auto *dialog = new PreviewSelectDialog(this, torrent);
|
auto *dialog = new PreviewSelectDialog(this, torrent);
|
||||||
dialog->setAttribute(Qt::WA_DeleteOnClose);
|
dialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
connect(dialog, &PreviewSelectDialog::readyToPreviewFile, this, &TransferListWidget::previewFile, Qt::QueuedConnection);
|
connect(dialog, &PreviewSelectDialog::readyToPreviewFile, this, &TransferListWidget::previewFile, Qt::QueuedConnection);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue