projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
337fb38
)
Don't set application stylesheet if no Qt-specific sections are found
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Mon, 10 Aug 2009 11:50:08 +0000
(13:50 +0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Mon, 10 Aug 2009 11:50:18 +0000
(13:50 +0200)
src/uisupport/uistyle.cpp
patch
|
blob
|
history
diff --git
a/src/uisupport/uistyle.cpp
b/src/uisupport/uistyle.cpp
index
37faa1c
..
12c3889
100644
(file)
--- a/
src/uisupport/uistyle.cpp
+++ b/
src/uisupport/uistyle.cpp
@@
-112,7
+112,9
@@
void UiStyle::loadStyleSheet() {
}
_listItemFormats = parser.listItemFormats();
- qApp->setStyleSheet(styleSheet); // pass the remaining sections to the application
+ styleSheet = styleSheet.trimmed();
+ if(!styleSheet.isEmpty())
+ qApp->setStyleSheet(styleSheet); // pass the remaining sections to the application
}
emit changed();