From 68341ae8768c1fb4097c7f4d6fe12361552ec368 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 13 Dec 2014 21:45:20 +0100 Subject: -removal of commented out lines. --- node/dicerollernode.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/node/dicerollernode.cpp b/node/dicerollernode.cpp index 8e86cce..6a203b9 100644 --- a/node/dicerollernode.cpp +++ b/node/dicerollernode.cpp @@ -41,7 +41,6 @@ DiceRollerNode::DiceRollerNode(quint64 faces) } void DiceRollerNode::run(ExecutionNode* previous) { -// qDebug() << "DiceRollerNode node"; if(NULL!=previous) { Result* result=previous->getResult(); @@ -57,31 +56,6 @@ void DiceRollerNode::run(ExecutionNode* previous) die->roll(); m_myDiceResult->insertResult(die); } - - /* quint64 threadCount = QThread::idealThreadCount(); - if(threadCount>m_diceCount) - { - threadCount=m_diceCount; - } - quint64 dicePass = m_diceCount/threadCount; - quint64 remainingDiceCount=m_diceCount; - - QThreadPool threadpool; - - - for(int i=threadCount-1;i>=0 && remainingDiceCount>0;--i) - { - remainingDiceCount-=dicePass; - if((remainingDiceCountrun(this); -- cgit v1.2.3-70-g09d2