1
0
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:
Frank Osterfeld 2011-04-14 20:16:34 +02:00
parent aad9dd4d75
commit db4fc8bd03
4 changed files with 5 additions and 3 deletions

View File

@ -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 );

View File

@ -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:

View File

@ -19,6 +19,7 @@
#include "treemodelitem.h"
#include "utils/tomahawkutils.h"
#include "album.h"
#include <QDebug>

View File

@ -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()