mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 17:29:42 +01:00
remove associated actions when deleting spotify account
This commit is contained in:
parent
3cb079b014
commit
f51f5e4d59
@ -82,6 +82,13 @@ SpotifyAccount::SpotifyAccount( const QString& accountId, const QString& path )
|
||||
}
|
||||
|
||||
|
||||
SpotifyAccount::~SpotifyAccount()
|
||||
{
|
||||
foreach( QAction* action, m_customActions )
|
||||
ActionCollection::instance()->removeAction( action );
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
SpotifyAccount::init()
|
||||
{
|
||||
|
@ -77,7 +77,7 @@ class SpotifyAccount : public ResolverAccount
|
||||
public:
|
||||
SpotifyAccount( const QString& accountId );
|
||||
SpotifyAccount( const QString& accountId, const QString& path );
|
||||
virtual ~SpotifyAccount() {}
|
||||
virtual ~SpotifyAccount();
|
||||
|
||||
virtual QPixmap icon() const;
|
||||
virtual QWidget* configurationWidget();
|
||||
|
Loading…
x
Reference in New Issue
Block a user