--- infoscreen/MainView.cpp 2010/06/24 12:50:01 890 +++ infoscreen/MainView.cpp 2010/06/24 13:01:35 891 @@ -306,11 +306,12 @@ void MainView::errorInfoScreen(QString msg) { - ensureVisible(web); - web->setHtml("\ - \ -

" + msg+ "

\ - "); + ensureVisible(web); + QString html(""); + html.append("

") + .append(msg) + .append("

"); + web->setHtml(html); } void MainView::ensureVisible(QWidget* widget)