mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
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:
parent
8768fa7251
commit
8988dffe7c
@ -278,11 +278,7 @@ void GuiWorkArea::init()
|
|||||||
setAcceptDrops(true);
|
setAcceptDrops(true);
|
||||||
setMouseTracking(true);
|
setMouseTracking(true);
|
||||||
setMinimumSize(100, 70);
|
setMinimumSize(100, 70);
|
||||||
#ifdef Q_WS_MACX
|
|
||||||
setFrameStyle(QFrame::NoFrame);
|
setFrameStyle(QFrame::NoFrame);
|
||||||
#else
|
|
||||||
setFrameStyle(QFrame::Box);
|
|
||||||
#endif
|
|
||||||
updateWindowTitle();
|
updateWindowTitle();
|
||||||
|
|
||||||
viewport()->setAutoFillBackground(false);
|
viewport()->setAutoFillBackground(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user