Removed the gray border around the open editors widget

It looks wrong when a shadow is added, which a lot of window managers do
these days. Whether is looks better when no shadow is added by the
window manager is debatable.

Reviewed-by: Jens Bache-Wiig
This commit is contained in:
Thorbjørn Lindeijer
2010-04-13 15:30:11 +02:00
parent e07821855c
commit 0d04949d1c
3 changed files with 5 additions and 12 deletions

View File

@@ -39,7 +39,6 @@
using namespace Help::Internal;
const int gMargin = 4;
const int gWidth = 300;
const int gHeight = 200;
@@ -53,8 +52,7 @@ OpenPagesSwitcher::OpenPagesSwitcher(OpenPagesModel *model)
m_openPagesWidget->allowContextMenu(false);
m_openPagesWidget->installEventFilter(this);
m_openPagesWidget->setGeometry(gMargin, gMargin, gWidth - 2 * gMargin,
gHeight - 2 * gMargin);
m_openPagesWidget->setGeometry(0, 0, gWidth, gHeight);
connect(m_openPagesWidget, SIGNAL(closePage(QModelIndex)), this,
SIGNAL(closePage(QModelIndex)));