mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Refactor apply button logics on options dialog
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
|
||||
#include "base/settingvalue.h"
|
||||
|
||||
class QAbstractButton;
|
||||
class QCloseEvent;
|
||||
class QListWidgetItem;
|
||||
|
||||
@@ -95,7 +94,7 @@ private slots:
|
||||
void on_buttonBox_accepted();
|
||||
void closeEvent(QCloseEvent *e) override;
|
||||
void on_buttonBox_rejected();
|
||||
void applySettings(QAbstractButton *button);
|
||||
void applySettings();
|
||||
void enableApplyButton();
|
||||
void toggleComboRatioLimitAct();
|
||||
void changePage(QListWidgetItem *, QListWidgetItem *);
|
||||
@@ -181,7 +180,7 @@ private:
|
||||
SettingValue<QSize> m_storeDialogSize;
|
||||
SettingValue<QStringList> m_storeHSplitterSize;
|
||||
|
||||
QAbstractButton *m_applyButton;
|
||||
QPushButton *m_applyButton;
|
||||
|
||||
AdvancedSettings *m_advancedSettings;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user