mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 23:39:42 +01:00
Copy internal hash instead of trying to make a non-valid assignment
This commit is contained in:
parent
5b0493bd6c
commit
7ee90244bd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user