1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-01 20:00:13 +02:00

* Fixed a bunch of compiler warnings.

This commit is contained in:
Christian Muehlhaeuser
2013-06-07 11:55:32 +02:00
parent 3c95e31ba0
commit b93e5c90c0
4 changed files with 6 additions and 7 deletions

View File

@@ -32,6 +32,7 @@
using namespace Tomahawk; using namespace Tomahawk;
using namespace Accounts; using namespace Accounts;
#define MYNAME "zeroconf"
ZeroconfPlugin::ZeroconfPlugin ( ZeroconfAccount* parent ) ZeroconfPlugin::ZeroconfPlugin ( ZeroconfAccount* parent )
: SipPlugin( parent ) : SipPlugin( parent )

View File

@@ -28,8 +28,6 @@
#include <QtCore/QTimer> #include <QtCore/QTimer>
#define MYNAME "zeroconf"
namespace Tomahawk namespace Tomahawk
{ {
namespace Accounts namespace Accounts
@@ -65,9 +63,9 @@ public slots:
void advertise(); void advertise();
virtual void sendSipInfos( const Tomahawk::peerinfo_ptr& receiver, const QList<SipInfo>& info ) {} virtual void sendSipInfos( const Tomahawk::peerinfo_ptr& /* receiver */, const QList<SipInfo>& /* info */ ) {}
void broadcastMsg( const QString & ) {} void broadcastMsg( const QString& ) {}
void addContact( const QString &, const QString& ) {} void addContact( const QString&, const QString& ) {}
private slots: private slots:
void lanHostFound( const QString& host, int port, const QString& name, const QString& nodeid ); void lanHostFound( const QString& host, int port, const QString& name, const QString& nodeid );

View File

@@ -31,7 +31,7 @@
InboxJobItem::InboxJobItem( Side side, InboxJobItem::InboxJobItem( Side side,
const QString& prettyName, const QString& prettyName,
const Tomahawk::trackdata_ptr& track, const Tomahawk::trackdata_ptr& track,
QObject* parent ) QObject* /* parent */ )
: JobStatusItem() : JobStatusItem()
, m_track( track ) , m_track( track )
, m_prettyName( prettyName ) , m_prettyName( prettyName )

View File

@@ -38,8 +38,8 @@ ControlConnection::ControlConnection( Servent* parent )
: Connection( parent ) : Connection( parent )
, m_dbsyncconn( 0 ) , m_dbsyncconn( 0 )
, m_registered( false ) , m_registered( false )
, m_pingtimer( 0 )
, m_shutdownOnEmptyPeerInfos( true ) , m_shutdownOnEmptyPeerInfos( true )
, m_pingtimer( 0 )
{ {
qDebug() << "CTOR controlconnection"; qDebug() << "CTOR controlconnection";
setId("ControlConnection()"); setId("ControlConnection()");