summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2008-03-13 20:13:40 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2008-03-13 20:13:40 (GMT)
commit970cf01f08056e032895427eaef3ca55bca8843a (patch)
treed03456974cb8dec9cc5c312af80310d18fc687a4 /Source/QtDialog
parentf12ea8bd324a93d7c31dafecdd30e0aef24525e3 (diff)
downloadCMake-970cf01f08056e032895427eaef3ca55bca8843a.zip
CMake-970cf01f08056e032895427eaef3ca55bca8843a.tar.gz
CMake-970cf01f08056e032895427eaef3ca55bca8843a.tar.bz2
ENH: Preserve white spaces when printing messages.
Diffstat (limited to 'Source/QtDialog')
-rw-r--r--Source/QtDialog/CMakeSetupDialog.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx
index 67eda11..64b263e 100644
--- a/Source/QtDialog/CMakeSetupDialog.cxx
+++ b/Source/QtDialog/CMakeSetupDialog.cxx
@@ -483,6 +483,7 @@ void CMakeSetupDialog::error(const QString& message)
m.replace(QString("&"), QString("&amp;"));
m.replace(QString("<"), QString("&lt;"));
m.replace(QString(">"), QString("&gt;"));
+ m.replace(QString(" "), QString("&nbsp;"));
this->Output->append(QString("<b><font color=red>%1</font></b>").arg(m));
}
}