From b5bc3bca4574eab52d510ff3cedada183743dad5 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Thu, 21 Jun 2012 11:56:50 -0400 Subject: [PATCH] Properly initialize binary bool flag on creation --- src/libtomahawk/AtticaManager.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libtomahawk/AtticaManager.h b/src/libtomahawk/AtticaManager.h index bca1d7440..318a55b3d 100644 --- a/src/libtomahawk/AtticaManager.h +++ b/src/libtomahawk/AtticaManager.h @@ -64,10 +64,9 @@ public: // internal bool pixmapDirty; - Resolver( const QString& v, const QString& path, int userR, ResolverState s, bool resolver ) - : version( v ), scriptPath( path ), userRating( userR ), state( s ), pixmap( 0 ), binary( false ), pixmapDirty( false ) + Resolver( const QString& v, const QString& path, int userR, ResolverState s, bool binary ) + : version( v ), scriptPath( path ), userRating( userR ), state( s ), pixmap( 0 ), binary( binary ), pixmapDirty( false ) { - Q_UNUSED( resolver ); } Resolver() : userRating( -1 ), state( Uninstalled ), pixmap( 0 ), binary( false ), pixmapDirty( false ) {} };