--- infoscreen/MainView.cpp 2010/06/24 10:00:51 885 +++ infoscreen/mainview.cpp 2010/06/24 19:06:43 899 @@ -1,4 +1,4 @@ -#include "MainView.h" +#include "mainview.h" #include #include #include @@ -70,7 +70,7 @@ clockOverlay = new ClockOverlay(this); clockOverlay->move(10,10); - clockOverlay->resize(100,50); + clockOverlay->resize(150,75); @@ -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)