VirtualBox

Changeset 45537 in vbox for trunk


Ignore:
Timestamp:
Apr 13, 2013 10:13:15 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: Message-center: Forgot to preprocess parent widget for rare 'message with option' class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp

    r45452 r45537  
    279279
    280280    /* Create message-box: */
    281     QWidget *pBoxParent = windowManager().realParentWindow(pParent);
     281    QWidget *pBoxParent = windowManager().realParentWindow(pParent ? pParent : windowManager().mainWindowShown());
    282282    QPointer<QIMessageBox> pBox = new QIMessageBox(strTitle, strMessage, icon,
    283283                                                   iButton1, iButton2, iButton3, pBoxParent);
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