Skip to content

Commit

Permalink
Fix untranslatable strings (fix #11765)
Browse files Browse the repository at this point in the history
cherry-picked from df7e07b
  • Loading branch information
nyalldawson committed Jun 24, 2015
1 parent 05a8491 commit b3f9b66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/qgscolorscheme.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class CORE_EXPORT QgsRecentColorScheme : public QgsColorScheme

virtual ~QgsRecentColorScheme();

virtual QString schemeName() const override { return QT_TR_NOOP( "Recent colors" ); }
virtual QString schemeName() const override { return QObject::tr( "Recent colors" ); }

virtual SchemeFlags flags() const override { return ShowInAllContexts; }

Expand All @@ -206,7 +206,7 @@ class CORE_EXPORT QgsCustomColorScheme : public QgsColorScheme

virtual ~QgsCustomColorScheme();

virtual QString schemeName() const override { return QT_TR_NOOP( "Standard colors" ); }
virtual QString schemeName() const override { return QObject::tr( "Standard colors" ); }

virtual SchemeFlags flags() const override { return ShowInAllContexts; }

Expand All @@ -233,7 +233,7 @@ class CORE_EXPORT QgsProjectColorScheme : public QgsColorScheme

virtual ~QgsProjectColorScheme();

virtual QString schemeName() const override { return QT_TR_NOOP( "Project colors" ); }
virtual QString schemeName() const override { return QObject::tr( "Project colors" ); }

virtual SchemeFlags flags() const override { return ShowInAllContexts; }

Expand Down

0 comments on commit b3f9b66

Please sign in to comment.