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:
@@ -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 )
|
||||||
|
@@ -28,8 +28,6 @@
|
|||||||
|
|
||||||
#include <QtCore/QTimer>
|
#include <QtCore/QTimer>
|
||||||
|
|
||||||
#define MYNAME "zeroconf"
|
|
||||||
|
|
||||||
namespace Tomahawk
|
namespace Tomahawk
|
||||||
{
|
{
|
||||||
namespace Accounts
|
namespace Accounts
|
||||||
@@ -65,7 +63,7 @@ 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& ) {}
|
||||||
|
|
||||||
|
@@ -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 )
|
||||||
|
@@ -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()");
|
||||||
|
Reference in New Issue
Block a user