Changeset 10892 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- Jul 25, 2008 1:39:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp
r10797 r10892 591 591 bool event (QEvent *aEvent) 592 592 { 593 //#warning check me!594 593 if (aEvent->type() == mType) 595 594 { 596 595 OpenNativeDialogEvent *ev = (OpenNativeDialogEvent*) aEvent; 597 596 mResult = ev->result(); 598 mLoop. exit();597 mLoop.quit(); 599 598 return true; 600 599 } … … 874 873 { 875 874 static QList<QPixmap> list; 876 if (list.empty()) 877 { 878 for (int i = 0; i < vm_os_types.count(); i++) 879 { 880 QPixmap image (32 + 2*aHorizonalMargin, 32 + 2*aVerticalMargin);875 if (list.empty()) 876 { 877 for (int i = 0; i < vm_os_types.count(); i++) 878 { 879 QPixmap image (32 + 2 * aHorizonalMargin, 32 + 2 * aVerticalMargin); 881 880 image.fill (Qt::transparent); 882 QPainter p (&image);881 QPainter p (&image); 883 882 p.drawPixmap (aHorizonalMargin, aVerticalMargin, *vm_os_type_icons.value (vm_os_types [i].GetId())); 884 883 p.end(); … … 3428 3427 }; 3429 3428 3430 //#warning check me!3431 3432 3429 /* Local event loop to run while waiting for the result from another 3433 3430 * thread */ … … 3580 3577 if (aSelectedFilter) 3581 3578 *aSelectedFilter = QString::null; 3582 3583 //#warning check me!3584 3579 3585 3580 /* Local event loop to run while waiting for the result from another
Note:
See TracChangeset
for help on using the changeset viewer.