mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-20 07:52:30 +02:00
Fix compiler warnings.
This commit is contained in:
parent
aad9dd4d75
commit
db4fc8bd03
@ -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() ) );
|
||||
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 );
|
||||
|
||||
|
@ -118,6 +118,7 @@ ControlConnection::registerSource()
|
||||
{
|
||||
qDebug() << Q_FUNC_INFO << m_source->id();
|
||||
Source* source = (Source*) sender();
|
||||
Q_UNUSED( source )
|
||||
Q_ASSERT( source == m_source.data() );
|
||||
// .. but we'll use the shared pointer we've already made:
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include "treemodelitem.h"
|
||||
|
||||
#include "utils/tomahawkutils.h"
|
||||
#include "album.h"
|
||||
|
||||
#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 ),
|
||||
fpid( -1 ),
|
||||
loved( false ),
|
||||
null( false ),
|
||||
scrobbleStatus( Track::Null ),
|
||||
scrobbleError( Track::None )
|
||||
scrobbleError( Track::None ),
|
||||
null( false )
|
||||
{}
|
||||
|
||||
lastfm::Track::Track()
|
||||
|
Loading…
x
Reference in New Issue
Block a user