MenuTranslator::translate() should be const

This commit is contained in:
Stephan Witt 2012-10-14 14:36:18 +02:00
parent 70ff68b580
commit 593276f87d

View File

@ -492,7 +492,7 @@ public:
QString translate(const char * /*context*/, QString translate(const char * /*context*/,
const char * sourceText, const char * sourceText,
const char * /*comment*/ = 0) const char * /*comment*/ = 0) const
{ {
string const s = sourceText; string const s = sourceText;
if (s == N_("About %1") || s == N_("Preferences") if (s == N_("About %1") || s == N_("Preferences")