Commit 36500c21 authored by Daniel Teske's avatar Daniel Teske Committed by hjk
Browse files

Add FakeVim category icon to all option pages



Change-Id: I9291ad878dda1cfab761d824ad143a16953eba40
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent ceaa99c2
......@@ -347,7 +347,8 @@ public:
QString displayName() const { return tr("Ex Command Mapping"); }
QString category() const { return _(Constants::SETTINGS_CATEGORY); }
QString displayCategory() const { return tr("FakeVim"); }
QIcon categoryIcon() const { return QIcon(); } // TODO: Icon for FakeVim
QIcon categoryIcon() const
{ return QIcon(_(Constants::SETTINGS_CATEGORY_FAKEVIM_ICON)); }
QWidget *createPage(QWidget *parent);
void initialize();
......@@ -572,7 +573,8 @@ public:
QString displayName() const { return tr("User Command Mapping"); }
QString category() const { return _(Constants::SETTINGS_CATEGORY); }
QString displayCategory() const { return tr("FakeVim"); }
QIcon categoryIcon() const { return QIcon(); }
QIcon categoryIcon() const
{ return QIcon(_(Constants::SETTINGS_CATEGORY_FAKEVIM_ICON)); }
void apply();
void finish() {}
......
Markdown is supported
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