Make static
This commit is contained in:
@@ -115,7 +115,7 @@ class AppearanceSettingsPage : public SettingsPage {
|
||||
|
||||
private:
|
||||
// Set the widget's background to new_color
|
||||
void UpdateColorSelectorColor(QWidget *color_selector, const QColor &new_color);
|
||||
static void UpdateColorSelectorColor(QWidget *color_selector, const QColor &new_color);
|
||||
// Init (or refresh) the colorSelectors colors
|
||||
void InitColorSelectorsColors();
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
private slots:
|
||||
void InsertVariableFirstLine(QAction *action);
|
||||
void InsertVariableSecondLine(QAction *action);
|
||||
void ShowMenuTooltip(QAction *action);
|
||||
static void ShowMenuTooltip(QAction *action);
|
||||
void HeadlineFontChanged();
|
||||
void NormalFontChanged();
|
||||
|
||||
|
||||
@@ -67,8 +67,8 @@ class SettingsPage : public QWidget {
|
||||
|
||||
void set_changed() { changed_ = true; }
|
||||
|
||||
void ComboBoxLoadFromSettings(const QSettings &s, QComboBox *combobox, const QString &setting, const QString &default_value);
|
||||
void ComboBoxLoadFromSettings(const QSettings &s, QComboBox *combobox, const QString &setting, const int default_value);
|
||||
static void ComboBoxLoadFromSettings(const QSettings &s, QComboBox *combobox, const QString &setting, const QString &default_value);
|
||||
static void ComboBoxLoadFromSettings(const QSettings &s, QComboBox *combobox, const QString &setting, const int default_value);
|
||||
|
||||
private:
|
||||
virtual void Save() = 0;
|
||||
|
||||
Reference in New Issue
Block a user