From 52fcc7b53f0ca76295f114871de333eb3cbf6404 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Tue, 29 Mar 2011 17:27:50 -0400 Subject: [PATCH] Update some debug in twitter --- src/sip/twitter/twitter.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/sip/twitter/twitter.cpp b/src/sip/twitter/twitter.cpp index 2e28b64e5..655dd832b 100644 --- a/src/sip/twitter/twitter.cpp +++ b/src/sip/twitter/twitter.cpp @@ -269,7 +269,7 @@ TwitterPlugin::connectTimerFired() if ( !peerData.contains( "host" ) || !peerData.contains( "port" ) || !peerData.contains( "pkey" ) ) { - qDebug() << "TwitterPlugin does not have host, port and/or pkey values for " << screenName; + qDebug() << "TwitterPlugin does not have host, port and/or pkey values for " << screenName << " (this is usually *not* a bug or problem but a normal part of the process)"; continue; } @@ -281,7 +281,7 @@ void TwitterPlugin::parseGotTomahawk( const QRegExp ®ex, const QString &screenName, const QString &text ) { QString myScreenName = TomahawkSettings::instance()->twitterScreenName(); - qDebug() << "TwitterPlugin found an exact matching Got Tomahawk? mention or direct message from user " << screenName; + qDebug() << "TwitterPlugin found an exact matching Got Tomahawk? mention or direct message from user " << screenName << ", now parsing"; regex.exactMatch( text ); if ( text.startsWith( '@' ) && regex.captureCount() >= 2 && regex.cap( 1 ) != QString( '@' + myScreenName ) ) { @@ -292,7 +292,6 @@ TwitterPlugin::parseGotTomahawk( const QRegExp ®ex, const QString &screenName QString node; for ( int i = 0; i < regex.captureCount(); ++i ) { - qDebug() << "Parsing regex captures, current cap = " << regex.cap( i ); if ( regex.cap( i ) == QString( "Got Tomahawk?" ) ) { QString nodeCap = regex.cap( i + 1 );