Fix coding style inconsistency

Co-authored-by: Vladimir Golovnev <glassez@yandex.ru>
This commit is contained in:
Isak05 2025-04-25 13:34:54 +02:00 committed by GitHub
commit a7a83b4f35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1444,7 +1444,8 @@ void TransferListWidget::wheelEvent(QWheelEvent *event)
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);
dialog->setAttribute(Qt::WA_DeleteOnClose);
connect(dialog, &PreviewSelectDialog::readyToPreviewFile, this, &TransferListWidget::previewFile, Qt::QueuedConnection);