1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 22:26:32 +02:00

Properly initialize binary bool flag on creation

This commit is contained in:
Leo Franchi
2012-06-21 11:56:50 -04:00
parent 2acae2fd45
commit b5bc3bca45

View File

@@ -64,10 +64,9 @@ public:
// internal // internal
bool pixmapDirty; bool pixmapDirty;
Resolver( const QString& v, const QString& path, int userR, ResolverState s, bool resolver ) Resolver( const QString& v, const QString& path, int userR, ResolverState s, bool binary )
: version( v ), scriptPath( path ), userRating( userR ), state( s ), pixmap( 0 ), binary( false ), pixmapDirty( false ) : 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 ) {} Resolver() : userRating( -1 ), state( Uninstalled ), pixmap( 0 ), binary( false ), pixmapDirty( false ) {}
}; };