VirtualBox

Changeset 18563 in vbox


Ignore:
Timestamp:
Mar 31, 2009 12:01:58 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: Fix assertion in case of low information about API error present.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp

    r18411 r18563  
    20932093    autoConfimId += errorID.toUtf8();
    20942094
    2095     QString formatted;
     2095    QString formatted ("<!--EOM-->");
    20962096
    20972097    if (!errorMsg.isEmpty())
    2098         formatted += QString ("<p>%1.</p><!--EOM-->")
    2099                               .arg (vboxGlobal().emphasize (errorMsg));
     2098        formatted.prepend (QString ("<p>%1.</p>").arg (vboxGlobal().emphasize (errorMsg)));
    21002099
    21012100    if (!errorID.isEmpty())
     
    22342233
    22352234    if (!aInfo.text().isEmpty())
    2236         formatted += QString ("<p>%1.</p><!--EOM-->").arg (vboxGlobal().emphasize (aInfo.text()));
    2237 
    2238     formatted += "<table bgcolor=#EEEEEE border=0 cellspacing=0 "
     2235        formatted += QString ("<p>%1.</p>").arg (vboxGlobal().emphasize (aInfo.text()));
     2236
     2237    formatted += "<!--EOM--><table bgcolor=#EEEEEE border=0 cellspacing=0 "
    22392238                 "cellpadding=0 width=100%>";
    22402239
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette