Changeset 45427 in vbox
- Timestamp:
- Apr 9, 2013 12:32:11 PM (12 years ago)
- 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 2547 2547 void UIMessageCenter::sltRemindAboutWrongColorDepth(ulong uRealBPP, ulong uWantedBPP) const 2548 2548 { 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, 2560 2550 tr("<p>The virtual machine window is optimized to work in " 2561 2551 "<b>%1 bit</b> color mode but the " … … 2571 2561 "mode (%4 bit) is not available in the guest OS.</p>") 2572 2562 .arg(uWantedBPP).arg(uRealBPP).arg(uWantedBPP).arg(uWantedBPP), 2573 kName);2563 "remindAboutWrongColorDepth"); 2574 2564 } 2575 2565 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h
r45424 r45427 22 22 /* Qt includes: */ 23 23 #include <QObject> 24 #include <QPointer>25 24 26 25 /* GUI includes: */
Note:
See TracChangeset
for help on using the changeset viewer.