Removed some unnecessary debug prints.
This commit is contained in:
parent
e629db6818
commit
71a79a4ce6
|
@ -51,7 +51,6 @@ void ResultsView::Clear()
|
||||||
|
|
||||||
void ResultsView::Progress(int value, int max)
|
void ResultsView::Progress(int value, int max)
|
||||||
{
|
{
|
||||||
qDebug() << "Progress:" << value << "/" << max;
|
|
||||||
mProgress->setMaximum(max);
|
mProgress->setMaximum(max);
|
||||||
mProgress->setValue(value);
|
mProgress->setValue(value);
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,8 +58,6 @@ void ThreadHandler::Check(Settings settings)
|
||||||
mRunningThreadCount = mResults.GetFileCount();
|
mRunningThreadCount = mResults.GetFileCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
qDebug() << "Starting" << mRunningThreadCount << "threads";
|
|
||||||
qDebug() << mThreads.size();
|
|
||||||
for (int i = 0;i < mRunningThreadCount;i++)
|
for (int i = 0;i < mRunningThreadCount;i++)
|
||||||
{
|
{
|
||||||
mThreads[i]->Check(settings);
|
mThreads[i]->Check(settings);
|
||||||
|
@ -75,9 +73,6 @@ void ThreadHandler::SetThreadCount(const int count)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
qDebug() << "Setting thead count to" << count;
|
|
||||||
|
|
||||||
|
|
||||||
//Remove unused old threads
|
//Remove unused old threads
|
||||||
RemoveThreads();
|
RemoveThreads();
|
||||||
//Create new threads
|
//Create new threads
|
||||||
|
@ -112,8 +107,6 @@ void ThreadHandler::RemoveThreads()
|
||||||
void ThreadHandler::ThreadDone()
|
void ThreadHandler::ThreadDone()
|
||||||
{
|
{
|
||||||
mRunningThreadCount--;
|
mRunningThreadCount--;
|
||||||
qDebug() << "Thread done" << mRunningThreadCount << "threads left";
|
|
||||||
|
|
||||||
if (mRunningThreadCount == 0)
|
if (mRunningThreadCount == 0)
|
||||||
{
|
{
|
||||||
emit Done();
|
emit Done();
|
||||||
|
|
|
@ -57,7 +57,6 @@ void ThreadResult::reportErr(const ErrorLogger::ErrorMessage &msg)
|
||||||
files << QString((*tok).file.c_str());
|
files << QString((*tok).file.c_str());
|
||||||
lines << (*tok).line;
|
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()),
|
emit Error(QString(callStackToString(msg._callStack).c_str()),
|
||||||
QString(msg._severity.c_str()),
|
QString(msg._severity.c_str()),
|
||||||
|
|
Loading…
Reference in New Issue