diff options
-rw-r--r-- | Source/QtDialog/CMakeSetupDialog.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx index 3c57cf5..21e5782 100644 --- a/Source/QtDialog/CMakeSetupDialog.cxx +++ b/Source/QtDialog/CMakeSetupDialog.cxx @@ -453,7 +453,11 @@ void CMakeSetupDialog::showProgress(const QString& /*msg*/, float percent) void CMakeSetupDialog::error(const QString& message) { - this->Output->append(QString("<b><font color=red>%1</font></b>").arg(message)); + QStringList messages = message.split('\n'); + foreach(QString m, messages) + { + this->Output->append(QString("<b><font color=red>%1</font></b>").arg(m)); + } } void CMakeSetupDialog::setEnabledState(bool enabled) |