mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
MenuTranslator::translate() should be const
This commit is contained in:
parent
70ff68b580
commit
593276f87d
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user