From 8988dffe7ce911b6f2a6e4a739f410abe9efa1a5 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Mon, 9 Mar 2009 22:29:02 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/GuiWorkArea.cpp | 4 ---- 1 file changed, 4 deletions(-) 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);