From: Stephan Witt Date: Sun, 14 Oct 2012 12:36:18 +0000 (+0200) Subject: MenuTranslator::translate() should be const X-Git-Tag: 2.1.0beta1~1397 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=593276f87d7856c4661957d8d1d365c073ede26e;p=features.git MenuTranslator::translate() should be const --- diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index bc570edf93..acb76b9ab3 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -492,7 +492,7 @@ public: QString translate(const char * /*context*/, const char * sourceText, - const char * /*comment*/ = 0) + const char * /*comment*/ = 0) const { string const s = sourceText; if (s == N_("About %1") || s == N_("Preferences")