Changeset 88208 in vbox
- Timestamp:
- Mar 19, 2021 5:41:46 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 143373
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r88100 r88208 370 370 /* Gather suitable dialog parent: */ 371 371 QWidget *pDlgParent = windowManager().realParentWindow(pParent ? pParent : windowManager().mainWindowShown()); 372 AssertPtrReturn(pDlgParent, fRc);373 372 374 373 /* Prepare pixmap: */ 375 374 QPixmap pixmap; 376 375 if (!strImage.isEmpty()) 377 pixmap = UIIconPool::iconSet(strImage).pixmap(pDlgParent->windowHandle(), QSize(90, 90)); 376 pixmap = pDlgParent 377 ? UIIconPool::iconSet(strImage).pixmap(pDlgParent->windowHandle(), QSize(90, 90)) 378 : UIIconPool::iconSet(strImage).pixmap(QSize(90, 90)); 378 379 379 380 /* Create progress-dialog: */
Note:
See TracChangeset
for help on using the changeset viewer.