1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-19 04:11:46 +02:00

Add some debugging

This commit is contained in:
Jeff Mitchell
2011-02-12 20:49:18 -05:00
parent 7951003cbc
commit d1e0b2cca2

View File

@@ -297,9 +297,13 @@ TwitterPlugin::directMessages( const QList< QTweetDMStatus > &messages )
foreach( QTweetDMStatus status, messages )
{
qDebug() << "TwitterPlugin checking direct message from " << status.senderScreenName() << " with content " << status.text();
if ( status.id() > m_cachedDirectMessagesSinceId )
m_cachedDirectMessagesSinceId = status.id();
QStringList splitList = status.text().split(':');
qDebug() << "TwitterPlugin found " << splitList.length() << " parts to the message; the parts are:";
foreach( QString part, splitList )
qDebug() << part;
if ( splitList.length() < 5 )
continue;
if ( splitList[0] != "TOMAHAWKPEERSTART" )