From 7650aafa041e74f46343ff23935ad2eb4c3671ba Mon Sep 17 00:00:00 2001 From: Steve Evans Date: Mon, 3 Sep 2007 06:36:43 +0000 Subject: [PATCH] Replace round with qRound, because round is not available on all platforms, e.g., Solaris svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=707844 --- libscience/spectrum.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libscience/spectrum.cpp b/libscience/spectrum.cpp index 9bad5c5..928825c 100644 --- a/libscience/spectrum.cpp +++ b/libscience/spectrum.cpp @@ -81,7 +81,7 @@ void Spectrum::adjustIntensities() { double newInt = p->intensity*1000/maxInt; - p->intensity = ( int ) round( newInt ); + p->intensity = ( int ) qRound( newInt ); } } -- 2.47.3