Permalink
Browse files

Silence some warnings from QT's code parser (lupdate)

  • Loading branch information...
stuartm committed Jun 10, 2012
1 parent f729934 commit 733316d633376be96f89404b27fe9513782e79a0
@@ -304,7 +304,7 @@ void CC608Decoder::FormatCCField(int tc, int field, int data)
case 0x00: //attribute
#if 0
LOG(VB_VBI, LOG_DEBUG,
- QString("<ATTRIBUTE %1 %2>").arg(b1).arg(b2);
+ QString("<ATTRIBUTE %1 %2>").arg(b1).arg(b2));
#endif
break;
case 0x01: //midrow or char
@@ -155,7 +155,7 @@ int VideoSync::CalcDelay()
int ret_val = m_nexttrigger - now;
#if 0
- LOG(VB_GENERAL, LOG_DEBUG, QString("delay %1").arg(ret_val);
+ LOG(VB_GENERAL, LOG_DEBUG, QString("delay %1").arg(ret_val));
#endif
if (ret_val > m_frame_interval * 4)
@@ -47,7 +47,7 @@ BufferedSocketDevice::BufferedSocketDevice( int nSocket )
//
/////////////////////////////////////////////////////////////////////////////
-BufferedSocketDevice::BufferedSocketDevice( MSocketDevice *pSocket /*= NULL*/,
+BufferedSocketDevice::BufferedSocketDevice( MSocketDevice *pSocket /* = NULL*/,
bool bTakeOwnership /* = false */ )
{
m_pSocket = pSocket;
@@ -38,7 +38,7 @@ UPnpCDSRootInfo UPnpCDSVideo::g_RootNodes[] =
int UPnpCDSVideo::g_nRootCount = 1;
//int UPnpCDSVideo::g_nRootCount;
-//= sizeof( g_RootNodes ) / sizeof( UPnpCDSRootInfo );
+// = sizeof( g_RootNodes ) / sizeof( UPnpCDSRootInfo );
/////////////////////////////////////////////////////////////////////////////
//
@@ -47,7 +47,7 @@ int UPnpCDSVideo::g_nRootCount = 1;
UPnpCDSRootInfo *UPnpCDSVideo::GetRootInfo( int nIdx )
{
if ((nIdx >=0 ) && ( nIdx < g_nRootCount ))
- return &(g_RootNodes[ nIdx ]);
+ return &(g_RootNodes[nIdx]);
return NULL;
}
@@ -214,6 +214,8 @@ struct VConfigPage : public ConfigPage
class RatingsToPL : public TriggeredConfigurationGroup
{
+ Q_OBJECT
+
public:
RatingsToPL() : TriggeredConfigurationGroup(false)
{

0 comments on commit 733316d

Please sign in to comment.