mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
remove associated actions when deleting spotify account
This commit is contained in:
@@ -82,6 +82,13 @@ SpotifyAccount::SpotifyAccount( const QString& accountId, const QString& path )
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SpotifyAccount::~SpotifyAccount()
|
||||||
|
{
|
||||||
|
foreach( QAction* action, m_customActions )
|
||||||
|
ActionCollection::instance()->removeAction( action );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
SpotifyAccount::init()
|
SpotifyAccount::init()
|
||||||
{
|
{
|
||||||
|
@@ -77,7 +77,7 @@ class SpotifyAccount : public ResolverAccount
|
|||||||
public:
|
public:
|
||||||
SpotifyAccount( const QString& accountId );
|
SpotifyAccount( const QString& accountId );
|
||||||
SpotifyAccount( const QString& accountId, const QString& path );
|
SpotifyAccount( const QString& accountId, const QString& path );
|
||||||
virtual ~SpotifyAccount() {}
|
virtual ~SpotifyAccount();
|
||||||
|
|
||||||
virtual QPixmap icon() const;
|
virtual QPixmap icon() const;
|
||||||
virtual QWidget* configurationWidget();
|
virtual QWidget* configurationWidget();
|
||||||
|
Reference in New Issue
Block a user