mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Copy internal hash instead of trying to make a non-valid assignment
This commit is contained in:
@@ -32,7 +32,7 @@ WeakPeerHash::WeakPeerHash( const WeakPeerHash &hash )
|
||||
: QObject( hash.parent() )
|
||||
, d_ptr( new WeakPeerHashPrivate( this ) )
|
||||
{
|
||||
d_func()->hash = hash.hash();
|
||||
d_func()->hash = hash.d_func()->hash;
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user