Changeset 20303 in vbox
- Timestamp:
- Jun 5, 2009 9:00:43 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxProgressDialog.cpp
r20265 r20303 164 164 /* First ETA */ 165 165 long newTime = mProgress.GetTimeRemaining(); 166 QTime time(0, 0); 167 time = time.addSecs (newTime); 168 mETA->setText (mETAText.arg (time.toString())); 166 if (newTime > 0) 167 { 168 QTime time(0, 0); 169 time = time.addSecs (newTime); 170 mETA->setText (mETAText.arg (time.toString())); 171 }else 172 mETA->clear(); 169 173 /* Then operation text if changed */ 170 174 ulong newOp = mProgress.GetOperation() + 1;
Note:
See TracChangeset
for help on using the changeset viewer.