Make `apply()` and `reset()` slots of `SettingsDialog` public

This commit is contained in:
Martchus 2022-10-01 21:38:40 +02:00
parent 66b1a59e85
commit f81672885c
1 changed files with 4 additions and 3 deletions

View File

@ -36,6 +36,10 @@ public:
void setCornerWidget(QWidget *widget, Qt::Corner corner = Qt::TopRightCorner);
void addHeadingWidget(QWidget *widget);
public Q_SLOTS:
bool apply();
void reset();
Q_SIGNALS:
void applied();
void resetted();
@ -47,9 +51,6 @@ private Q_SLOTS:
void currentCategoryChanged(const QModelIndex &index);
void updateTabWidget();
bool apply();
void reset();
private:
std::unique_ptr<Ui::SettingsDialog> m_ui;
OptionCategoryModel *m_categoryModel;