mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Merge pull request #192 from krf/work
Fix some compiler/runtime warnings
This commit is contained in:
@@ -85,12 +85,12 @@ Result::isCached( const QString& url )
|
|||||||
Result::Result( const QString& url )
|
Result::Result( const QString& url )
|
||||||
: QObject()
|
: QObject()
|
||||||
, m_url( url )
|
, m_url( url )
|
||||||
|
, m_checked( false )
|
||||||
, m_bitrate( 0 )
|
, m_bitrate( 0 )
|
||||||
, m_size( 0 )
|
, m_size( 0 )
|
||||||
, m_modtime( 0 )
|
, m_modtime( 0 )
|
||||||
, m_score( 0 )
|
, m_score( 0 )
|
||||||
, m_fileId( 0 )
|
, m_fileId( 0 )
|
||||||
, m_checked( false )
|
|
||||||
{
|
{
|
||||||
connect( Pipeline::instance(), SIGNAL( resolverRemoved( Tomahawk::Resolver* ) ), SLOT( onResolverRemoved( Tomahawk::Resolver* ) ), Qt::QueuedConnection );
|
connect( Pipeline::instance(), SIGNAL( resolverRemoved( Tomahawk::Resolver* ) ), SLOT( onResolverRemoved( Tomahawk::Resolver* ) ), Qt::QueuedConnection );
|
||||||
}
|
}
|
||||||
|
@@ -419,6 +419,3 @@ GridView::setPlaylistInterface( const Tomahawk::playlistinterface_ptr& playlistI
|
|||||||
{
|
{
|
||||||
proxyModel()->setPlaylistInterface( playlistInterface );
|
proxyModel()->setPlaylistInterface( playlistInterface );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#include "GridView.moc"
|
|
||||||
|
@@ -1120,5 +1120,3 @@ urlSetQuery( QUrl& url, const QString& query )
|
|||||||
|
|
||||||
|
|
||||||
} // ns
|
} // ns
|
||||||
|
|
||||||
#include "TomahawkUtils.moc"
|
|
||||||
|
@@ -356,5 +356,3 @@ PlaylistWidget::setModel( QAbstractItemModel* model )
|
|||||||
QListView::setModel( model );
|
QListView::setModel( model );
|
||||||
emit modelChanged();
|
emit modelChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "WelcomeWidget.moc"
|
|
||||||
|
@@ -44,9 +44,6 @@ public:
|
|||||||
ACLRegistryImpl( QObject *parent = 0 );
|
ACLRegistryImpl( QObject *parent = 0 );
|
||||||
virtual ~ACLRegistryImpl();
|
virtual ~ACLRegistryImpl();
|
||||||
|
|
||||||
signals:
|
|
||||||
void aclResult( QString nodeid, QString username, ACLRegistry::ACL peerStatus );
|
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
/**
|
/**
|
||||||
* @brief Checks if peer is authorized; optionally, can authorize peer with given type if not found
|
* @brief Checks if peer is authorized; optionally, can authorize peer with given type if not found
|
||||||
|
Reference in New Issue
Block a user