VirtualBox

Changeset 90562 in vbox


Ignore:
Timestamp:
Aug 7, 2021 11:04:27 AM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10067: UINotificationCenter: A bit of sanity checks.

File:
1 edited

Legend:

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

    r90552 r90562  
    509509void UINotificationCenter::adjustGeometry()
    510510{
     511    /* Make sure parent exists: */
     512    QWidget *pParent = parentWidget();
     513    if (!pParent)
     514        return;
    511515    /* Acquire parent width and height: */
    512     QWidget *pParent = parentWidget();
    513516    const int iParentWidth = pParent->width();
    514517    const int iParentHeight = pParent->height();
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