]> git.lyx.org Git - features.git/commitdiff
MenuTranslator::translate() should be const
authorStephan Witt <switt@lyx.org>
Sun, 14 Oct 2012 12:36:18 +0000 (14:36 +0200)
committerStephan Witt <switt@lyx.org>
Sun, 14 Oct 2012 12:36:18 +0000 (14:36 +0200)
src/frontends/qt4/GuiApplication.cpp

index bc570edf93ee9a6593d236ce3ac956c509d0963a..acb76b9ab33e5858573e622d30053fb66a3dd793 100644 (file)
@@ -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")