Make default background of outline white.

Requested by con.
This commit is contained in:
Kai Koehne
2010-07-13 14:15:54 +02:00
parent 62b83fcfd2
commit 0adadf0ff4

View File

@@ -17,6 +17,11 @@ OutlineWidgetStack::OutlineWidgetStack(OutlineFactory *factory) :
{
QLabel *label = new QLabel(tr("No outline available"), this);
label->setAlignment(Qt::AlignCenter);
// set background to be white
label->setAutoFillBackground(true);
label->setBackgroundRole(QPalette::Base);
addWidget(label);
m_toggleSync = new QToolButton;