QmlDesigner: Fix 'could not parse style sheet' runtime warning

Reviewed-by: Thomas Hartmann
This commit is contained in:
Kai Koehne
2010-04-06 15:31:20 +02:00
parent 5b65a60e78
commit e3231a1741

View File

@@ -522,7 +522,7 @@ void DesignModeWidget::setup()
QFile file2(":/qmldesigner/scrollbar.css"); QFile file2(":/qmldesigner/scrollbar.css");
file2.open(QFile::ReadOnly); file2.open(QFile::ReadOnly);
QString labelStyle = QLatin1String("QLabel { background-color: ##4f4f4f; }"); QString labelStyle = QLatin1String("QLabel { background-color: #4f4f4f; }");
QString styleSheet = file.readAll() + file2.readAll() + labelStyle; QString styleSheet = file.readAll() + file2.readAll() + labelStyle;
navigationView.widget->setStyleSheet(styleSheet); navigationView.widget->setStyleSheet(styleSheet);