Index: /trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp	(revision 55114)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp	(revision 55115)
@@ -337,5 +337,5 @@
 {
     /* Prepare pixmap: */
-    QPixmap *pPixmap = 0;
+    QPixmap *pPixmap = NULL;
     if (!strImage.isEmpty())
         pPixmap = new QPixmap(strImage);
@@ -350,9 +350,14 @@
 
     /* Make sure progress-dialog still valid: */
-    if (!pProgressDlg)
-        return false;
-
-    /* Delete progress-dialog: */
-    delete pProgressDlg;
+    bool fRc;
+    if (pProgressDlg)
+    {
+        /* Delete progress-dialog: */
+        delete pProgressDlg;
+
+        fRc = true;
+    }
+    else
+        fRc = false;
 
     /* Cleanup pixmap: */
@@ -360,5 +365,5 @@
         delete pPixmap;
 
-    return true;
+    return fRc;
 }
 
