mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +00:00
branch: Remove black box around GuiWorkarea? which is visible with Qt4.5.
see r29861. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30907 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7fd27c3b81
commit
260d52f5a3
@ -332,18 +332,13 @@ void GuiWorkArea::close()
|
||||
void GuiWorkArea::setFullScreen(bool full_screen)
|
||||
{
|
||||
buffer_view_->setFullScreen(full_screen);
|
||||
setFrameStyle(QFrame::NoFrame);
|
||||
if (full_screen) {
|
||||
setFrameStyle(QFrame::NoFrame);
|
||||
if (lyxrc.full_screen_scrollbar)
|
||||
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
} else {
|
||||
#ifdef Q_WS_MACX
|
||||
setFrameStyle(QFrame::NoFrame);
|
||||
#else
|
||||
setFrameStyle(QFrame::Box);
|
||||
#endif
|
||||
} else
|
||||
setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user