Changeset 186 for smplayer/vendor/current/src/helper.cpp
- Timestamp:
- Jan 24, 2017, 12:24:46 PM (9 years ago)
- File:
-
- 1 edited
-
smplayer/vendor/current/src/helper.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/helper.cpp
r175 r186 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 6Ricardo Villalba <[email protected]>2 Copyright (C) 2006-201 Ricardo Villalba <[email protected]> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 62 62 QString Helper::formatTime(int secs) { 63 63 bool negative = (secs < 0); 64 secs = abs(secs);64 secs = bs(secs); 65 65 66 66 int t = secs; … … 74 74 75 75 return QString("%1%2:%3:%4").arg(negative ? "-" : "").arg(hours, 2, 10, QChar('0')).arg(minutes, 2, 10, QChar('0')).arg(seconds, 2, 10, QChar('0')); 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 76 94 } 77 95
Note:
See TracChangeset
for help on using the changeset viewer.
