Changeset 51770 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jul 1, 2014 6:14:02 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/bird/hardenedwindows (added) merged: 92692-94610
- Property svn:mergeinfo changed
-
trunk/src/VBox
- Property svn:mergeinfo changed
/branches/bird/hardenedwindows/src/VBox (added) merged: 92692-94610
- Property svn:mergeinfo changed
-
trunk/src/VBox/Frontends
- Property svn:mergeinfo changed
/branches/bird/hardenedwindows/src/VBox/Frontends (added) merged: 92692-94610
- Property svn:mergeinfo changed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r51649 r51770 57 57 VirtualBoxHardened_NAME = VirtualBox 58 58 VirtualBoxHardened_INST.darwin = $(INST_BIN)VirtualBox $(INST_BIN)VirtualBoxVM 59 VirtualBoxHardened_LDFLAGS.win = /SUBSYSTEM:$(if-expr "$(KBUILD_TYPE)" != "release",console,windows) 59 60 60 61 -
trunk/src/VBox/Frontends/VirtualBox/src/main.cpp
r51679 r51770 638 638 /* Prepare the error-message: */ 639 639 QString strTitle = QApplication::tr("VirtualBox - Error In %1").arg(pszWhere); 640 char msgBuf[1024]; 641 vsprintf(msgBuf, pszMsgFmt, va); 642 QString strText = QApplication::tr("<html><b>%1 (rc=%2)</b><br/><br/>").arg(msgBuf).arg(rc); 640 641 char szMsgBuf[1024]; 642 RTStrPrintfV(szMsgBuf, sizeof(szMsgBuf), pszMsgFmt, va); 643 QString strText = QApplication::tr("<html><b>%1 (rc=%2)</b><br/><br/>").arg(szMsgBuf).arg(rc); 644 643 645 switch (enmWhat) 644 646 { … … 652 654 # ifdef RT_OS_LINUX 653 655 case kSupInitOp_IPRT: 656 case kSupInitOp_Misc: 654 657 if (rc == VERR_NO_MEMORY) 655 658 strText += g_QStrHintLinuxNoMemory; … … 673 676 break; 674 677 } 678 675 679 strText += "</html>"; 676 680
Note:
See TracChangeset
for help on using the changeset viewer.