summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-05-10 06:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-05-10 06:28:35 +0000
commit57ae0fd104134faa8e86eacdec0615a66f6d2e88 (patch)
tree2d7715faf835c83a0013adafdacbf5550cd3777b
parented82ec1b371a3168929137153979aca5f8908483 (diff)
downloadkcpuload-57ae0fd104134faa8e86eacdec0615a66f6d2e88.tar.gz
kcpuload-57ae0fd104134faa8e86eacdec0615a66f6d2e88.zip
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
-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,