From 57ae0fd104134faa8e86eacdec0615a66f6d2e88 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 10 May 2010 06:28:35 +0000 Subject: Added a couple pixels of black above the maximum displayable value for better look-n-feel git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kcpuload@1124822 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcpuload/kcpuload/statdock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.1