From 8eebc1c84fdcb135e0a7f03bc6920d6630c6b055 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Tue, 12 Jan 2010 09:23:03 +0000 Subject: [PATCH] indent svn path=/trunk/kdenlive/; revision=4225 --- src/timecode.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/timecode.cpp b/src/timecode.cpp index 12f5bff3..607a0af5 100644 --- a/src/timecode.cpp +++ b/src/timecode.cpp @@ -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; -- 2.39.2