VirtualBox

Changeset 91231 in vbox


Ignore:
Timestamp:
Sep 14, 2021 11:29:00 AM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10067: UINotificationCenter: Forgot to stop open-timer in r146880.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationCenter.cpp

    r91225 r91231  
    295295void UINotificationCenter::sltHandleOpenTimerTimeout()
    296296{
     297    /* Make sure it's invoked by corresponding timer only: */
     298    QTimer *pTimer = qobject_cast<QTimer*>(sender());
     299    AssertPtrReturnVoid(pTimer);
     300    AssertReturnVoid(pTimer == m_pTimerOpen);
     301
     302    /* Stop corresponding timer: */
     303    m_pTimerOpen->stop();
     304
    297305    /* Check whether we really closed: */
    298306    if (m_pOpenButton->isChecked())
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