1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 06:07:37 +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
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 ) {}
};