VirtualBox

Changeset 45427 in vbox


Ignore:
Timestamp:
Apr 9, 2013 12:32:11 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: Message-center: Cleanup some async stuff.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/globals
Files:
2 edited

Legend:

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

    r45424 r45427  
    25472547void UIMessageCenter::sltRemindAboutWrongColorDepth(ulong uRealBPP, ulong uWantedBPP) const
    25482548{
    2549     const char *kName = "remindAboutWrongColorDepth";
    2550 
    2551     /* Close the previous (outdated) window if any. We use kName as
    2552      * pcszAutoConfirmId which is also used as the widget name by default. */
    2553     {
    2554         QWidget *outdated = VBoxGlobal::findWidget(NULL, kName, "QIMessageBox");
    2555         if (outdated)
    2556             outdated->close();
    2557     }
    2558 
    2559     alert(mainWindowShown(), MessageType_Info,
     2549    alert(0, MessageType_Info,
    25602550          tr("<p>The virtual machine window is optimized to work in "
    25612551             "<b>%1&nbsp;bit</b> color mode but the "
     
    25712561             "mode (%4&nbsp;bit) is not available in the guest OS.</p>")
    25722562             .arg(uWantedBPP).arg(uRealBPP).arg(uWantedBPP).arg(uWantedBPP),
    2573           kName);
     2563          "remindAboutWrongColorDepth");
    25742564}
    25752565
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h

    r45424 r45427  
    2222/* Qt includes: */
    2323#include <QObject>
    24 #include <QPointer>
    2524
    2625/* GUI includes: */
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