mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix compilation on ubuntu 18.04
One of Qt 5.9 or gcc 7.5 does not like the or-ing of several enum flags.
This commit is contained in:
parent
be209506d5
commit
23105b2edd
@ -665,7 +665,7 @@ FindAndReplace::FindAndReplace(GuiView & parent,
|
||||
setWidget(widget_);
|
||||
setFocusProxy(widget_);
|
||||
// FIXME: Allow all areas once the dialog re-orientation is fixed
|
||||
setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea | Qt::NoDockWidgetArea);
|
||||
setAllowedAreas(Qt::DockWidgetAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea));
|
||||
#ifdef Q_OS_MAC
|
||||
// On Mac show and floating
|
||||
setFloating(true);
|
||||
|
Loading…
Reference in New Issue
Block a user