Commit 1f8fa57c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Const'ify method

parent 5b8e99c4
......@@ -46,12 +46,12 @@ void ShortcutsOptionsPage::saveChanges()
mEditor->commit();
}
bool ShortcutsOptionsPage::isModified()
bool ShortcutsOptionsPage::isModified() const
{
return mEditor->isModified();
}
void ShortcutsOptionsPage::defaults()
void ShortcutsOptionsPage::defaults() const
{
mEditor->allDefault();
}
......@@ -19,8 +19,8 @@ public:
explicit ShortcutsOptionsPage(QWidget *parent);
~ShortcutsOptionsPage();
bool isModified();
void defaults();
bool isModified() const;
void defaults() const;
Q_SIGNALS:
void shortCutsChanged();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment