diff options
| author | 2015-08-21 11:40:09 +0200 | |
|---|---|---|
| committer | 2015-08-21 11:40:09 +0200 | |
| commit | 3238ab7bacfe65be7475b84d0e2cf7f697d8502a (patch) | |
| tree | c7edf2532c09cd43c36b142e671481a0d7a03cba /node/dicerollernode.cpp | |
| parent | 31e7b5b12afb8a129188747c7d627cfe4e8ec8f1 (diff) | |
| parent | 4a7faef6ead8e92839f7d615bc510218cc8dd63f (diff) | |
| download | OneRoll-3238ab7bacfe65be7475b84d0e2cf7f697d8502a.tar.gz OneRoll-3238ab7bacfe65be7475b84d0e2cf7f697d8502a.zip | |
Merge branch 'rangeInList' of github.com:Rolisteam/DiceParser into rangeInList
Diffstat (limited to 'node/dicerollernode.cpp')
| -rw-r--r-- | node/dicerollernode.cpp | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/node/dicerollernode.cpp b/node/dicerollernode.cpp index fa73185..73a7218 100644 --- a/node/dicerollernode.cpp +++ b/node/dicerollernode.cpp @@ -8,30 +8,7 @@ #include <QTime> -//DiceRoller::DiceRoller(QMutex* mutex,DiceResult* diceResult,int faces,int count) -// : m_mutex(mutex),m_sharedDiceResult(diceResult),m_faces(faces),m_diceCount(count) -//{ -//} - -//void DiceRoller::run() -//{ -// for(quint64 i=0; i < m_diceCount ; ++i) -// { -// Die* die = new Die(); -// die->setFaces(m_faces); -// die->roll(); -// m_mutex->lock(); -// m_sharedDiceResult->insertResult(die); -// m_mutex->unlock(); -// } -//} - - - -////////////////////////////////////////////////// -/// \brief DiceRollerNode::DiceRollerNode -////////////////////////////////////////////////// DiceRollerNode::DiceRollerNode(quint64 faces,qint64 offset) : m_faces(faces),m_diceResult(new DiceResult()),m_offset(offset) { @@ -72,7 +49,7 @@ QString DiceRollerNode::toString(bool wl) const { if(wl) { - return QString("%1 [label=DiceRollerNode faces: %2]").arg(m_id).arg(m_faces); + return QString("%1 [label=\"DiceRollerNode faces: %2\"]").arg(m_id).arg(m_faces); } else { |