Remove black box around GuiWorkarea which is visible with Qt4.5.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28747 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-03-09 22:29:02 +00:00
parent 8768fa7251
commit 8988dffe7c

View File

@ -278,11 +278,7 @@ void GuiWorkArea::init()
setAcceptDrops(true);
setMouseTracking(true);
setMinimumSize(100, 70);
#ifdef Q_WS_MACX
setFrameStyle(QFrame::NoFrame);
#else
setFrameStyle(QFrame::Box);
#endif
updateWindowTitle();
viewport()->setAutoFillBackground(false);