mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-25 17:21:27 -05:00
added missing deletes in Transfers dialog
This commit is contained in:
parent
d28665df18
commit
a2eced6d4a
@ -1124,10 +1124,16 @@ void TransfersDialog::handleEvent_main_thread(std::shared_ptr<const RsEvent> eve
|
|||||||
|
|
||||||
TransfersDialog::~TransfersDialog()
|
TransfersDialog::~TransfersDialog()
|
||||||
{
|
{
|
||||||
rsEvents->unregisterEventsHandler(mEventHandlerId);
|
rsEvents->unregisterEventsHandler(mEventHandlerId);
|
||||||
|
|
||||||
// save settings
|
// save settings
|
||||||
processSettings(false);
|
processSettings(false);
|
||||||
|
|
||||||
|
ui.uploadsList->setItemDelegate(nullptr);
|
||||||
|
ui.downloadList->setItemDelegate(nullptr);
|
||||||
|
|
||||||
|
delete ULDelegate;
|
||||||
|
delete DLDelegate;
|
||||||
}
|
}
|
||||||
|
|
||||||
void TransfersDialog::activatePage(TransfersDialog::Page page)
|
void TransfersDialog::activatePage(TransfersDialog::Page page)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user