diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2010-04-22 11:18:17 +0200 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2010-04-22 11:18:17 +0200 |
commit | 291db5cd9dccbaf81732957bbda9c30b07a577e9 (patch) | |
tree | 285faac00ddad70af81e1d7de1947782f84ac363 | |
parent | bcbcf924e6ca8857ffafe3007e54a56498e8ddc5 (diff) |
Fix styling on linux.
The toolbox scroll area had an incorrect look on linux: rounded corners
and a focus highlight. Setting the frame style to NoFrame explicitly
fixes it.
Reviewed-by: owolff
-rw-r--r-- | library/toolbox.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/toolbox.cpp b/library/toolbox.cpp index 99c799a..299da30 100644 --- a/library/toolbox.cpp +++ b/library/toolbox.cpp @@ -55,6 +55,7 @@ ToolBox::ToolBox(bool pagesOpenOnInsertion, QWidget *parent) QWidget *contentWidget = new QWidget(); contentWidget->setLayout(mLayout); + setFrameStyle(QFrame::NoFrame); setWidgetResizable(true); // Some styles have extra up/down buttons in the scrollbar. We only support // the plain scrollbars and therefore force the style to be derived from cleanlooks for them. |