Commit e3231a17 authored by Kai Koehne's avatar Kai Koehne
Browse files

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

Reviewed-by: Thomas Hartmann
parent 5b65a60e
...@@ -522,7 +522,7 @@ void DesignModeWidget::setup() ...@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment