From: Vincent van Ravesteijn Date: Mon, 9 Mar 2009 22:29:02 +0000 (+0000) Subject: Remove black box around GuiWorkarea which is visible with Qt4.5. X-Git-Tag: 2.0.0~7083 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8988dffe7ce911b6f2a6e4a739f410abe9efa1a5;p=features.git 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 --- diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index 0be171bcad..f8014e70b3 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -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);