Permalink
Browse files

Remove redundant QObject:: prefix from some tr()

The class in which these tr() are called already inherit from QObject
so it can be called directly without using the QObject:: prefix.

This has the effect of changing the translation context to a more
meaningful one...
  • Loading branch information...
nriendeau committed Jul 14, 2013
1 parent 8f08899 commit cd7942ab70203df991d67cf1a9e1512242511be2
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/libs/libmythui/myththemedmenu.cpp
@@ -579,7 +579,7 @@ bool MythThemedMenu::parseMenu(const QString &menuname)
"menu file %1").arg(menuname));
if (menuname != "mainmenu.xml")
ShowOkPopup(QObject::tr("MythTV could not locate the menu file %1")
ShowOkPopup(tr("MythTV could not locate the menu file %1")
.arg(menuname));
return false;
}
@@ -596,7 +596,7 @@ bool MythThemedMenu::parseMenu(const QString &menuname)
f.close();
if (menuname != "mainmenu.xml")
ShowOkPopup(QObject::tr("The menu file %1 is incomplete.")
ShowOkPopup(tr("The menu file %1 is incomplete.")
.arg(menuname));
return false;
}

0 comments on commit cd7942a

Please sign in to comment.