]> git.sesse.net Git - kdenlive/commitdiff
indent
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 12 Jan 2010 09:23:03 +0000 (09:23 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 12 Jan 2010 09:23:03 +0000 (09:23 +0000)
svn path=/trunk/kdenlive/; revision=4225

src/timecode.cpp

index 12f5bff3bf0c00ffbaf3b8dcfa31253f3d16460c..607a0af57625fd26e910fc915688da8cb2b6ffa2 100644 (file)
@@ -102,7 +102,7 @@ const QString Timecode::getTimecodeFromFrames(int frames) const
 QString Timecode::getStringTimecode(int frames, const double &fps)
 {
     // Returns the timecode in an hh:mm:ss format
-    int seconds = (int) (frames / fps);
+    int seconds = (int)(frames / fps);
     int minutes = seconds / 60;
     seconds = seconds % 60;
     int hours = minutes / 60;
@@ -122,8 +122,8 @@ QString Timecode::getEasyTimecode(const GenTime & time, const double &fps)
 {
     // Returns the timecode in an easily read display, like 3 min. 5 sec.
     int frames = (int) time.frames(fps);
-    int seconds = (int) (frames / fps);
-    frames = frames - ((int) (fps * seconds));
+    int seconds = (int)(frames / fps);
+    frames = frames - ((int)(fps * seconds));
 
     int minutes = seconds / 60;
     seconds = seconds % 60;