VirtualBox

Changeset 89039 in vbox


Ignore:
Timestamp:
May 14, 2021 10:27:16 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: Leak fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/activity/overview/UIVMActivityOverviewWidget.cpp

    r89000 r89039  
    369369
    370370    Q_OBJECT;
     371
     372public:
     373
     374    UIVMActivityOverviewDelegate(QObject *pParent = 0)
     375        : QItemDelegate(pParent){}
    371376
    372377protected:
     
    14841489        m_pProxyModel->setNotRunningVMVisibility(m_fShowNotRunningVMs);
    14851490        m_pTableView->setModel(m_pProxyModel);
    1486         m_pTableView->setItemDelegate(new UIVMActivityOverviewDelegate);
     1491        m_pTableView->setItemDelegate(new UIVMActivityOverviewDelegate(this));
    14871492        m_pTableView->setSelectionMode(QAbstractItemView::SingleSelection);
    14881493        m_pTableView->setSelectionBehavior(QAbstractItemView::SelectRows);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette