1
0
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:
Uwe L. Korn
2013-06-09 23:42:34 +02:00
parent 5b0493bd6c
commit 7ee90244bd

View File

@@ -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