mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
* Only manually delete m_page in removeFromList().
This commit is contained in:
@@ -84,7 +84,6 @@ TemporaryPageItem::TemporaryPageItem ( SourcesModel* mdl, SourceTreeItem* parent
|
||||
|
||||
TemporaryPageItem::~TemporaryPageItem()
|
||||
{
|
||||
delete m_page;
|
||||
}
|
||||
|
||||
|
||||
@@ -137,6 +136,7 @@ TemporaryPageItem::removeFromList()
|
||||
|
||||
emit removed();
|
||||
|
||||
delete m_page;
|
||||
deleteLater();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user