mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Clean up PreviewSelectDialog class
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user