Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove another QObject::tr()
  • Loading branch information
Nicolas Riendeau committed Jul 19, 2013
1 parent 1912ef7 commit daa00ad
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/channelutil.cpp
Expand Up @@ -1360,7 +1360,7 @@ QString ChannelUtil::GetIcon(uint chanid)

QString ChannelUtil::GetUnknownCallsign(void)
{
QString tmp = QObject::tr("UNKNOWN", "Synthesized callsign");
QString tmp = tr("UNKNOWN", "Synthesized callsign");
tmp.detach();
return tmp;
}
Expand Down
3 changes: 3 additions & 0 deletions mythtv/libs/libmythtv/channelutil.h
Expand Up @@ -12,6 +12,7 @@ using namespace std;

// Qt headers
#include <QString>
#include <QCoreApplication>

// MythTV headers
#include "mythtvexp.h"
Expand Down Expand Up @@ -48,6 +49,8 @@ typedef vector<pid_cache_item_t> pid_cache_t;
*/
class MTV_PUBLIC ChannelUtil
{
Q_DECLARE_TR_FUNCTIONS(ChannelUtil)

public:
// Multiplex Stuff

Expand Down

0 comments on commit daa00ad

Please sign in to comment.