[insight-vmi] r2006 committed - return msecs

1 view
Skip to first unread message

insig...@googlecode.com

unread,
Nov 8, 2013, 5:30:54 AM11/8/13
to insight-v...@googlegroups.com
Revision: 2006
Author: kit...@gmail.com
Date: Fri Nov 8 10:30:34 2013 UTC
Log: return msecs
http://code.google.com/p/insight-vmi/source/detail?r=2006

Modified:
/trunk/libinsight/longoperation.cpp

=======================================
--- /trunk/libinsight/longoperation.cpp Tue Jan 29 16:01:53 2013 UTC
+++ /trunk/libinsight/longoperation.cpp Fri Nov 8 10:30:34 2013 UTC
@@ -56,7 +56,8 @@
// Print out some timing statistics
int s = (_duration / 1000) % 60;
int m = _duration / (60*1000);
- return QString("%1:%2").arg(m).arg(s, 2, 10, QChar('0'));
+ int msec = _duration % 1000;
+ return QString("%1:%2.%3").arg(m).arg(s, 2, 10, QChar('0')).arg(msec,
3, 10, QChar('0'));
}


Reply all
Reply to author
Forward
0 new messages