X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiToolbar.cpp;h=6ff3e9636596977e683264dbda48d617ac5b8085;hb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;hp=aead589113561a01fa9148ebdba9a04fb4de1e76;hpb=f83a38b3defc997f808539d0dfd618f5ba71e13c;p=features.git diff --git a/src/frontends/qt4/GuiToolbar.cpp b/src/frontends/qt4/GuiToolbar.cpp index aead589113..6ff3e96365 100644 --- a/src/frontends/qt4/GuiToolbar.cpp +++ b/src/frontends/qt4/GuiToolbar.cpp @@ -3,7 +3,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * \author John Levon * \author Jean-Marc Lasgouttes * \author Angus Leeming @@ -365,8 +365,9 @@ void GuiLayoutBox::setFilter(QString const & s) filterModel_->triggerLayoutChange(); if (!s.isEmpty()) - owner_.message(_("Filtering layouts with \"" + fromqstr(s) + "\". " - "Press ESC to remove filter.")); + owner_.message(bformat(_("Filtering layouts with \"%1$s\". " + "Press ESC to remove filter."), + qstring_to_ucs4(s))); else owner_.message(_("Enter characters to filter the layout list.")); } @@ -917,7 +918,7 @@ void GuiToolbar::update(bool in_math, bool in_table, bool in_review, QString GuiToolbar::sessionKey() const { - return "view-" + QString::number(owner_.id()) + "/" + objectName(); + return "views/" + QString::number(owner_.id()) + "/" + objectName(); } @@ -970,4 +971,4 @@ void GuiToolbar::toggle() } // namespace frontend } // namespace lyx -#include "GuiToolbar_moc.cpp" +#include "moc_GuiToolbar.cpp"