summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kcpuload/kcpuload/statdock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kcpuload/kcpuload/statdock.cpp b/kcpuload/kcpuload/statdock.cpp
index cc19c6c..53554c1 100644
--- a/kcpuload/kcpuload/statdock.cpp
+++ b/kcpuload/kcpuload/statdock.cpp
@@ -29,7 +29,7 @@ const QColor StatDock::colorBlack(0, 0, 0);
//#define DOCK_SIZE 24
#define DOCK_SIZE width()
-#define DOCK_SCALE (100/(DOCK_SIZE-1))
+#define DOCK_SCALE (((float) 105)/((float) (DOCK_SIZE-1)))
#define SOFT_STEP 3
StatDock::StatDock(int whichDock, const QString& useLabel,