mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
Replace dialog ok-cancel buttons with QDialogButtonBox
This PR will make button order follow the platform default. For example: windows use: OK, Cancel; linux use: Cancel, OK.
This commit is contained in:
@@ -39,7 +39,7 @@ class QStandardItemModel;
|
||||
|
||||
class PreviewListDelegate;
|
||||
|
||||
class PreviewSelect: public QDialog, private Ui::preview
|
||||
class PreviewSelect : public QDialog, private Ui::preview
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -60,9 +60,8 @@ public:
|
||||
signals:
|
||||
void readyToPreviewFile(QString) const;
|
||||
|
||||
protected slots:
|
||||
void on_previewButton_clicked();
|
||||
void on_cancelButton_clicked();
|
||||
private slots:
|
||||
void previewButtonClicked();
|
||||
|
||||
private:
|
||||
QStandardItemModel *m_previewListModel;
|
||||
|
||||
Reference in New Issue
Block a user