mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
Clean up PreviewSelectDialog class
This commit is contained in:
parent
a9e6ef183b
commit
0607050ecc
5 changed files with 11 additions and 12 deletions
|
@ -60,26 +60,25 @@ public:
|
|||
NB_COLUMNS
|
||||
};
|
||||
|
||||
PreviewSelectDialog(QWidget *parent, BitTorrent::TorrentHandle *const torrent);
|
||||
PreviewSelectDialog(QWidget *parent, const BitTorrent::TorrentHandle *torrent);
|
||||
~PreviewSelectDialog();
|
||||
|
||||
signals:
|
||||
void readyToPreviewFile(QString) const;
|
||||
|
||||
protected:
|
||||
void showEvent(QShowEvent *event) override;
|
||||
|
||||
private slots:
|
||||
void previewButtonClicked();
|
||||
|
||||
private:
|
||||
void showEvent(QShowEvent *event) override;
|
||||
|
||||
void loadWindowState();
|
||||
void saveWindowState();
|
||||
|
||||
Ui::PreviewSelectDialog *m_ui;
|
||||
QStandardItemModel *m_previewListModel;
|
||||
PreviewListDelegate *m_listDelegate;
|
||||
BitTorrent::TorrentHandle *const m_torrent;
|
||||
const BitTorrent::TorrentHandle *m_torrent;
|
||||
bool m_headerStateInitialized = false;
|
||||
|
||||
// Settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue