mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Fix compiler warnings.
This commit is contained in:
@@ -179,7 +179,7 @@ FuzzyIndex::search( const QString& table, const QString& name )
|
|||||||
FuzzyQuery* qry = _CLNEW FuzzyQuery( _CLNEW Term( table.toStdWString().c_str(), DatabaseImpl::sortname( name ).toStdWString().c_str() ) );
|
FuzzyQuery* qry = _CLNEW FuzzyQuery( _CLNEW Term( table.toStdWString().c_str(), DatabaseImpl::sortname( name ).toStdWString().c_str() ) );
|
||||||
hits = m_luceneSearcher->search( qry );
|
hits = m_luceneSearcher->search( qry );
|
||||||
|
|
||||||
for ( int i = 0; i < hits->length(); i++ )
|
for ( uint i = 0; i < hits->length(); i++ )
|
||||||
{
|
{
|
||||||
Document* d = &hits->doc( i );
|
Document* d = &hits->doc( i );
|
||||||
|
|
||||||
|
@@ -118,6 +118,7 @@ ControlConnection::registerSource()
|
|||||||
{
|
{
|
||||||
qDebug() << Q_FUNC_INFO << m_source->id();
|
qDebug() << Q_FUNC_INFO << m_source->id();
|
||||||
Source* source = (Source*) sender();
|
Source* source = (Source*) sender();
|
||||||
|
Q_UNUSED( source )
|
||||||
Q_ASSERT( source == m_source.data() );
|
Q_ASSERT( source == m_source.data() );
|
||||||
// .. but we'll use the shared pointer we've already made:
|
// .. but we'll use the shared pointer we've already made:
|
||||||
|
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
#include "treemodelitem.h"
|
#include "treemodelitem.h"
|
||||||
|
|
||||||
#include "utils/tomahawkutils.h"
|
#include "utils/tomahawkutils.h"
|
||||||
|
#include "album.h"
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
|
4
thirdparty/liblastfm2/src/types/Track.cpp
vendored
4
thirdparty/liblastfm2/src/types/Track.cpp
vendored
@@ -33,9 +33,9 @@ lastfm::TrackData::TrackData()
|
|||||||
rating( 0 ),
|
rating( 0 ),
|
||||||
fpid( -1 ),
|
fpid( -1 ),
|
||||||
loved( false ),
|
loved( false ),
|
||||||
null( false ),
|
|
||||||
scrobbleStatus( Track::Null ),
|
scrobbleStatus( Track::Null ),
|
||||||
scrobbleError( Track::None )
|
scrobbleError( Track::None ),
|
||||||
|
null( false )
|
||||||
{}
|
{}
|
||||||
|
|
||||||
lastfm::Track::Track()
|
lastfm::Track::Track()
|
||||||
|
Reference in New Issue
Block a user