Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ChannelGroup translation context change
  • Loading branch information
Nicolas Riendeau committed Jul 17, 2013
1 parent a4c2850 commit 39ced03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/channelgroup.cpp
Expand Up @@ -198,7 +198,7 @@ QString ChannelGroup::GetChannelGroupName(int grpid)
{
// All Channels
if (grpid == -1)
return QObject::tr("All Channels");
return tr("All Channels");

// No group
if (grpid == 0)
Expand Down
3 changes: 3 additions & 0 deletions mythtv/libs/libmythtv/channelgroup.h
Expand Up @@ -7,6 +7,7 @@ using namespace std;

// qt
#include <QString>
#include <QCoreApplication>

// mythtv
#include "mythtvexp.h"
Expand Down Expand Up @@ -34,6 +35,8 @@ typedef vector<ChannelGroupItem> ChannelGroupList;
*/
class MTV_PUBLIC ChannelGroup
{
Q_DECLARE_TR_FUNCTIONS(ChannelGroup)

public:
// ChannelGroup
static ChannelGroupList GetChannelGroups(bool includeEmpty = true);
Expand Down

0 comments on commit 39ced03

Please sign in to comment.