Commit 4f9820f9 authored by Matthias Möller's avatar Matthias Möller

reduce log

refs #1967

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17995 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 24e8f9ea
......@@ -205,7 +205,6 @@ void MemInfoPlugin::setProgressBarStyleSheet(QProgressBar* _bar)
// red starts with 50% mem alloc with 0 and is 1 at 100% mem alloc
double redPerc = (val > 0.5*maxVal) ? 2.0*(val-0.5*maxVal) : 0.0;
const unsigned red = 255.0*redPerc/maxVal;
std::cout << red << std::endl;
const unsigned green = 255-red;
const unsigned blue = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment