mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 05:38:06 -06:00
Fix preview not opening on Wayland
Deferring the opening of the preview slightly gives the preview select dialog time to close and for focus to shift back to the main window. PR #22608. Closes #22607. --------- Co-authored-by: Vladimir Golovnev <glassez@yandex.ru>
This commit is contained in:
committed by
Vladimir Golovnev (Glassez)
parent
3fd05d001f
commit
a721540e6c
@@ -123,6 +123,7 @@ private:
|
||||
void dragMoveEvent(QDragMoveEvent *event) override;
|
||||
void dropEvent(QDropEvent *event) override;
|
||||
void wheelEvent(QWheelEvent *event) override;
|
||||
void openPreviewSelectDialog(const BitTorrent::Torrent *torrent);
|
||||
QModelIndex mapToSource(const QModelIndex &index) const;
|
||||
QModelIndexList mapToSource(const QModelIndexList &indexes) const;
|
||||
QModelIndex mapFromSource(const QModelIndex &index) const;
|
||||
|
||||
Reference in New Issue
Block a user