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:
Jean-Marc Lasgouttes 2024-02-28 16:58:35 +01:00
parent be209506d5
commit 23105b2edd

View File

@ -665,7 +665,7 @@ FindAndReplace::FindAndReplace(GuiView & parent,
setWidget(widget_); setWidget(widget_);
setFocusProxy(widget_); setFocusProxy(widget_);
// FIXME: Allow all areas once the dialog re-orientation is fixed // 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 #ifdef Q_OS_MAC
// On Mac show and floating // On Mac show and floating
setFloating(true); setFloating(true);