Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Alternate fix for QT warning.

  • Loading branch information...
commit 89810e789c9f3b00e759b1f5425928e4d13cd9f6 1 parent 733316d
@stuartm stuartm authored
Showing with 4 additions and 6 deletions.
  1. +4 −6 mythtv/programs/mythfrontend/videoglobalsettings.cpp
View
10 mythtv/programs/mythfrontend/videoglobalsettings.cpp
@@ -214,8 +214,6 @@ struct VConfigPage : public ConfigPage
class RatingsToPL : public TriggeredConfigurationGroup
{
- Q_OBJECT
-
public:
RatingsToPL() : TriggeredConfigurationGroup(false)
{
@@ -233,13 +231,13 @@ class RatingsToPL : public TriggeredConfigurationGroup
typedef std::map<ParentalLevel::Level, QString> r2pl_map;
r2pl_map r2pl_defaults;
r2pl_defaults.insert(r2pl_map::value_type(ParentalLevel::plLowest,
- tr("G", "PL 1 default search string.")));
+ QObject::tr("G", "PL 1 default search string.")));
r2pl_defaults.insert(r2pl_map::value_type(ParentalLevel::plLow,
- tr("PG", "PL 2 default search string.")));
+ QObject::tr("PG", "PL 2 default search string.")));
r2pl_defaults.insert(r2pl_map::value_type(ParentalLevel::plMedium,
- tr("PG-13", "PL3 default search string.")));
+ QObject::tr("PG-13", "PL3 default search string.")));
r2pl_defaults.insert(r2pl_map::value_type(ParentalLevel::plHigh,
- tr("R:NC-17", "PL4 default search string.")));
+ QObject::tr("R:NC-17", "PL4 default search string.")));
VerticalConfigurationGroup *vcg = new VerticalConfigurationGroup(true);
Please sign in to comment.
Something went wrong with that request. Please try again.