Changeset 32136 in vbox
- Timestamp:
- Aug 31, 2010 12:24:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.cpp
r31563 r32136 199 199 } 200 200 201 Q IMessageBox *box = new QIMessageBox (title, aMessage, icon, aButton1, aButton2,202 aButton3, aParent, aAutoConfirmId);201 QPointer<QIMessageBox> box = new QIMessageBox (title, aMessage, icon, aButton1, aButton2, 202 aButton3, aParent, aAutoConfirmId); 203 203 204 204 if (!aText1.isNull()) … … 222 222 if (aAutoConfirmId) 223 223 { 224 if (box ->isFlagChecked())224 if (box && box->isFlagChecked()) 225 225 { 226 226 msgs << aAutoConfirmId; … … 229 229 } 230 230 231 delete box; 231 if (box) 232 delete box; 232 233 233 234 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.