From: Juergen Spitzmueller Date: Fri, 28 Dec 2018 11:44:55 +0000 (+0100) Subject: style X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7e3b2340e837531d29a8ecd5d8819b766cd5ee03;p=features.git style --- diff --git a/src/frontends/qt4/GuiToolbar.cpp b/src/frontends/qt4/GuiToolbar.cpp index 23bf04c6e8..39e4812276 100644 --- a/src/frontends/qt4/GuiToolbar.cpp +++ b/src/frontends/qt4/GuiToolbar.cpp @@ -383,9 +383,11 @@ void DynamicMenuButton::updateTriggered() ++i; } // Add item to reset to defaults - Action * dact = new Action(FuncRequest(LFUN_FONT_DEFAULT, FuncRequest::TOOLBAR), getIcon(FuncRequest(LFUN_UNDO), false), - qt_("&Reset to default"), qt_("Reset all font settings to their defaults"), this); - m->addAction(dact); + Action * reset_act = new Action(FuncRequest(LFUN_FONT_DEFAULT, FuncRequest::TOOLBAR), + getIcon(FuncRequest(LFUN_UNDO), false), + qt_("&Reset to default"), + qt_("Reset all font settings to their defaults"), this); + m->addAction(reset_act); if (default_act) QToolButton::setDefaultAction(default_act);