[SOLVED] truncating the QTime
-
Hi,
qDebug() << "QTime(\"" << iter->getTime_log()[0].time().toString("hh:mm::ss") << "\")";
-
@Lorence
it ask the time object (from time() ) to convert to a string (ToString) using the format
hours:minutes:seconds.
Since the milliseconds are not listed, they will not be there.