VirtualBox

Changeset 90562 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Aug 7, 2021 11:04:27 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146168
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.

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