VirtualBox

Changeset 24762 in vbox for trunk


Ignore:
Timestamp:
Nov 18, 2009 4:18:16 PM (15 years ago)
Author:
vboxsync
Message:

VBoxProgressDialog.cpp: Fixed "QString::arg: Argument missing: 1 hour, 2 minutes remaining, 47" warning.

File:
1 edited

Legend:

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

    r24182 r24762  
    235235        else if (newTime > VBOX_HOUR * 23 + VBOX_MINUTE * 55)
    236236            mETA->setText (mETAText[ 5]);
    237         else if (newTime > VBOX_HOUR * 2)
     237        else if (newTime >= VBOX_HOUR * 2)
    238238            mETA->setText (mETAText[ 6].arg (hours).arg (minutes));
    239239        else if (newTime > VBOX_HOUR + VBOX_MINUTE * 5)
    240             mETA->setText (mETAText[ 7].arg (hours).arg (minutes));
     240            mETA->setText (mETAText[ 7].arg (minutes));
    241241        else if (newTime > VBOX_MINUTE * 55)
    242242            mETA->setText (mETAText[ 8]);
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