mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-04 13:17:34 +02:00
Set weakref via reference
This commit is contained in:
@@ -71,7 +71,7 @@ public:
|
||||
Tomahawk::playlistinterface_ptr playlistInterface();
|
||||
|
||||
QWeakPointer< Tomahawk::Artist > weakRef() { return m_ownRef; }
|
||||
void setWeakRef( QWeakPointer< Tomahawk::Artist > weakRef ) { m_ownRef = weakRef; }
|
||||
void setWeakRef( const QWeakPointer< Tomahawk::Artist >& weakRef ) { m_ownRef = weakRef; }
|
||||
|
||||
void loadId( bool autoCreate );
|
||||
|
||||
|
Reference in New Issue
Block a user