diff options
Diffstat (limited to 'src/dot.cpp')
-rw-r--r-- | src/dot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dot.cpp b/src/dot.cpp index 523d515..423e45d 100644 --- a/src/dot.cpp +++ b/src/dot.cpp @@ -997,9 +997,9 @@ bool DotManager::run() { uint numDotRuns = m_dotRuns.count(); uint numDotMaps = m_dotMaps.count(); - if (numDotRuns+numDotMaps>0) + if (numDotRuns+numDotMaps>1) { - msg("Generating dot graphs using %d parallel threads...\n",m_workers.count()); + msg("Generating dot graphs using %d parallel threads...\n",QMIN(numDotRuns+numDotMaps,m_workers.count())); } int i=1; QListIterator<DotRunner> li(m_dotRuns); |