Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
e3231a17
Commit
e3231a17
authored
Apr 06, 2010
by
Kai Koehne
Browse files
QmlDesigner: Fix 'could not parse style sheet' runtime warning
Reviewed-by: Thomas Hartmann
parent
5b65a60e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/designmodewidget.cpp
View file @
e3231a17
...
...
@@ -522,7 +522,7 @@ void DesignModeWidget::setup()
QFile
file2
(
":/qmldesigner/scrollbar.css"
);
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
;
navigationView
.
widget
->
setStyleSheet
(
styleSheet
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment