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:
@@ -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 ) {}
|
||||
};
|
||||
|
Reference in New Issue
Block a user