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:
parent
3c95e31ba0
commit
b93e5c90c0
@ -32,6 +32,7 @@
|
||||
using namespace Tomahawk;
|
||||
using namespace Accounts;
|
||||
|
||||
#define MYNAME "zeroconf"
|
||||
|
||||
ZeroconfPlugin::ZeroconfPlugin ( ZeroconfAccount* parent )
|
||||
: SipPlugin( parent )
|
||||
|
@ -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 );
|
||||
|
@ -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 )
|
||||
|
@ -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()");
|
||||
|
Loading…
x
Reference in New Issue
Block a user