From 71a79a4ce682ac67cf69b18e92b91fc2e9836db7 Mon Sep 17 00:00:00 2001 From: Vesa Pikki Date: Mon, 2 Mar 2009 19:59:51 +0000 Subject: [PATCH] Removed some unnecessary debug prints. --- gui/resultsview.cpp | 1 - gui/threadhandler.cpp | 7 ------- gui/threadresult.cpp | 1 - 3 files changed, 9 deletions(-) diff --git a/gui/resultsview.cpp b/gui/resultsview.cpp index aaea3be37..4a2e9fede 100644 --- a/gui/resultsview.cpp +++ b/gui/resultsview.cpp @@ -51,7 +51,6 @@ void ResultsView::Clear() void ResultsView::Progress(int value, int max) { - qDebug() << "Progress:" << value << "/" << max; mProgress->setMaximum(max); mProgress->setValue(value); } diff --git a/gui/threadhandler.cpp b/gui/threadhandler.cpp index ddb9def37..27d09383a 100644 --- a/gui/threadhandler.cpp +++ b/gui/threadhandler.cpp @@ -58,8 +58,6 @@ void ThreadHandler::Check(Settings settings) mRunningThreadCount = mResults.GetFileCount(); } - qDebug() << "Starting" << mRunningThreadCount << "threads"; - qDebug() << mThreads.size(); for (int i = 0;i < mRunningThreadCount;i++) { mThreads[i]->Check(settings); @@ -75,9 +73,6 @@ void ThreadHandler::SetThreadCount(const int count) return; } - qDebug() << "Setting thead count to" << count; - - //Remove unused old threads RemoveThreads(); //Create new threads @@ -112,8 +107,6 @@ void ThreadHandler::RemoveThreads() void ThreadHandler::ThreadDone() { mRunningThreadCount--; - qDebug() << "Thread done" << mRunningThreadCount << "threads left"; - if (mRunningThreadCount == 0) { emit Done(); diff --git a/gui/threadresult.cpp b/gui/threadresult.cpp index 0d5ffd017..2e4becdcd 100644 --- a/gui/threadresult.cpp +++ b/gui/threadresult.cpp @@ -57,7 +57,6 @@ void ThreadResult::reportErr(const ErrorLogger::ErrorMessage &msg) files << QString((*tok).file.c_str()); lines << (*tok).line; } - qDebug() << "Got error for file" << QString(callStackToString(msg._callStack).c_str()) << QString(msg._msg.c_str()); emit Error(QString(callStackToString(msg._callStack).c_str()), QString(msg._severity.c_str()),