summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2010-04-22 11:18:17 +0200
committerChristian Kamm <christian.d.kamm@nokia.com>2010-04-22 11:18:17 +0200
commit291db5cd9dccbaf81732957bbda9c30b07a577e9 (patch)
tree285faac00ddad70af81e1d7de1947782f84ac363
parentbcbcf924e6ca8857ffafe3007e54a56498e8ddc5 (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.cpp1
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.