[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Bkamoso=5D_src=3A_Fix_compile_on_ARM?=
From:       Jonathan Riddell <jriddell () ubuntu ! com>
Date:       2011-02-10 18:05:06
Message-ID: 20110210180506.93F99A609B () git ! kde ! org
[Download RAW message or body]

Git commit 330fa33e30ad55a608118b3aaa6a842eb968306b by Jonathan Riddell.
Committed on 10/02/2011 at 19:04.
Pushed by jriddell into branch 'master'.

Fix compile on ARM

M  +1    -1    src/kamoso.cpp     

http://commits.kde.org/kamoso/330fa33e30ad55a608118b3aaa6a842eb968306b

diff --git a/src/kamoso.cpp b/src/kamoso.cpp
index 79d6d4e..3e9e0cc 100644
--- a/src/kamoso.cpp
+++ b/src/kamoso.cpp
@@ -398,7 +398,7 @@ Kamoso::~Kamoso()
 void Kamoso::startCountdown(qreal minimumTime)
 {
     kDebug() << Settings::photoTime();
-    int time = qMax(minimumTime, 1000.*Settings::photoTime());
+    int time = qMax(minimumTime, qreal(1000.*Settings::photoTime()));
 
     m_countdown->start(time);
     //hidding all non-semaphore widgets

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic