Changeset 55115 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Apr 7, 2015 1:50:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r54937 r55115 337 337 { 338 338 /* Prepare pixmap: */ 339 QPixmap *pPixmap = 0;339 QPixmap *pPixmap = NULL; 340 340 if (!strImage.isEmpty()) 341 341 pPixmap = new QPixmap(strImage); … … 350 350 351 351 /* Make sure progress-dialog still valid: */ 352 if (!pProgressDlg) 353 return false; 354 355 /* Delete progress-dialog: */ 356 delete pProgressDlg; 352 bool fRc; 353 if (pProgressDlg) 354 { 355 /* Delete progress-dialog: */ 356 delete pProgressDlg; 357 358 fRc = true; 359 } 360 else 361 fRc = false; 357 362 358 363 /* Cleanup pixmap: */ … … 360 365 delete pPixmap; 361 366 362 return true;367 return fRc; 363 368 } 364 369
Note:
See TracChangeset
for help on using the changeset viewer.