]> git.sesse.net Git - kdenlive/blobdiff - src/gentime.cpp
convert font-size to font-pixel-size in old documents (cleanup and complete):
[kdenlive] / src / gentime.cpp
index a962e20e3c15332569891fe118bd4d67c50ecbab..760d988885f0dc74b0b95e574fbfadbe861f3aef 100644 (file)
@@ -46,7 +46,7 @@ double GenTime::ms() const
 /** Returns the time in frames, after being given the number of frames per second */
 double GenTime::frames(double framesPerSecond) const
 {
-    return (int) floor(m_time * framesPerSecond + 0.5);
+    return floor(m_time * framesPerSecond + 0.5);
 }
 
 GenTime::~GenTime()