changeset 624:076dcd2ce209

* Truncate long output lines
author Chris Cannam
date Fri, 21 May 2010 10:20:52 +0000
parents f19437971e17
children 608b4dc5ff34
files base/ProgressPrinter.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/base/ProgressPrinter.cpp	Fri Mar 12 15:06:38 2010 +0000
+++ b/base/ProgressPrinter.cpp	Fri May 21 10:20:52 2010 +0000
@@ -52,6 +52,9 @@
 ProgressPrinter::setMessage(QString message)
 {
     m_prefix = message;
+    if (m_prefix.length() > 70) {
+        m_prefix = m_prefix.left(70) + "...";
+    }
 }
 
 void