1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 15:29:42 +01: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 Accounts;
#define MYNAME "zeroconf"
ZeroconfPlugin::ZeroconfPlugin ( ZeroconfAccount* parent )
: SipPlugin( parent )

View File

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

View File

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

View File

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