]> git.lyx.org Git - features.git/commitdiff
Remove black box around GuiWorkarea which is visible with Qt4.5.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 9 Mar 2009 22:29:02 +0000 (22:29 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 9 Mar 2009 22:29:02 +0000 (22:29 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28747 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.cpp

index 0be171bcad39317971db68bf121c24ae82d3e5c6..f8014e70b336435473de38e3606cd3ebb7a79d82 100644 (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);