aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/help/contentwindow.cpp
diff options
context:
space:
mode:
authorJens Bache-Wiig <[email protected]>2010-05-11 14:09:00 +0200
committerJens Bache-Wiig <[email protected]>2010-05-11 14:10:04 +0200
commitb8f7d44753dc70838ac74e2262b606b5f0b363a7 (patch)
treea58273a70aa5e1023281769f58a3dccf189d734a /src/shared/help/contentwindow.cpp
parente71f299954da98b64c49f128e5eb109c695d5056 (diff)
Make the help mode more UI consistent
- We now used styled bars where available - We use frameless windows to optimize screen space - We use the fancylineedit where possible Reviewed-by: thorbjorn
Diffstat (limited to 'src/shared/help/contentwindow.cpp')
-rw-r--r--src/shared/help/contentwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/help/contentwindow.cpp b/src/shared/help/contentwindow.cpp
index e728a9a7478..a8ed1f1613a 100644
--- a/src/shared/help/contentwindow.cpp
+++ b/src/shared/help/contentwindow.cpp
@@ -52,7 +52,7 @@ ContentWindow::ContentWindow()
setFocusProxy(m_contentWidget);
QVBoxLayout *layout = new QVBoxLayout(this);
- layout->setMargin(4);
+ layout->setMargin(0);
layout->addWidget(m_contentWidget);
connect(m_contentWidget, SIGNAL(customContextMenuRequested(QPoint)), this,
@@ -63,6 +63,8 @@ ContentWindow::ContentWindow()
QHelpContentModel *contentModel =
qobject_cast<QHelpContentModel*>(m_contentWidget->model());
connect(contentModel, SIGNAL(contentsCreated()), this, SLOT(expandTOC()));
+
+ m_contentWidget->setFrameStyle(QFrame::NoFrame);
}
ContentWindow::~ContentWindow()