Originally Posted by stampede For me it looks like your problem is not the timer, but the way you are trying to calculate the result. A simple example, 123 000 ms = Qt Code: Switch view [(123 000/60 000) min + (3 000 / 1000) s = 2 min + 3 s] [(123 000/60 000) min + (3 000 / 1000) s = 2 min + 3 s] To copy to clipboard, switch view to plain text mode , but in your code it is Qt Code: Switch view [(123 000 / 60 000) min + (123 000 / 1000) s = 2 min + 123 s] [(123 000 / 60 000) min + (123 000 / 1000) s = 2 min + 123 s] To copy to clipboard, switch view to plain text mode Do you see where is the problem ? I figured it out, thank you.
[(123 000/60 000) min + (3 000 / 1000) s = 2 min + 3 s]
[(123 000 / 60 000) min + (123 000 / 1000) s = 2 min + 123 s]
View Tag Cloud
Forum Rules
Bookmarks