Mercurial > hg > svgui
diff widgets/PluginParameterBox.cpp @ 842:8432d2551fb2 tonioni
Update subrepos and merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 02 Sep 2014 16:23:48 +0100 |
parents | 1fdd895063c5 |
children | 4a578a360011 |
line wrap: on
line diff
--- a/widgets/PluginParameterBox.cpp Fri Jul 18 15:06:04 2014 +0100 +++ b/widgets/PluginParameterBox.cpp Tue Sep 02 16:23:48 2014 +0100 @@ -131,7 +131,9 @@ QLabel *label = new QLabel(name); if (params[i].description != "") { - label->setToolTip(params[i].description.c_str()); + label->setToolTip(QString("<qt>%1</qt>") + .arg(params[i].description.c_str()) + .replace("\n", "<br>")); } m_layout->addWidget(label, i + offset, 0);