VirtualBox

Changeset 47954 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Aug 21, 2013 9:16:07 AM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Message-center: Fixing formatting issue for CProgress result-code.

File:
1 edited

Legend:

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

    r47911 r47954  
    23722372        return formatErrorInfo(errorInfo);
    23732373    /* Handle NULL error-info otherwise: */
    2374     return tr("Progress result-code: %1")
    2375              .arg(QString::number(progress.GetResultCode(), 16 /* hex */))
    2376              .prepend("<!--EOM-->") /* move to details instead of mesasage body */;
     2374    return QString("<table><tr><td>%1</td><td><tt>%2</tt></td></tr></table>")
     2375                   .arg(tr("Result&nbsp;Code: ", "error info"))
     2376                   .arg(formatRC(progress.GetResultCode()))
     2377                   .prepend("<!--EOM-->") /* move to details */;
    23772378}
    23782379
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