Backport another straightforward deprecation fix

This commit is contained in:
Juergen Spitzmueller 2021-03-13 10:46:59 +01:00
parent 67b829bf09
commit 007a49a132
7 changed files with 7 additions and 7 deletions

View File

@ -38,7 +38,7 @@ public:
Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of
///the dock (and
///also drawer)
Qt::WindowFlags flags = 0);
Qt::WindowFlags flags = {});
virtual ~DockView() {}

View File

@ -78,7 +78,7 @@ public:
FindAndReplace(
GuiView & parent, ///< the main window where to dock.
Qt::DockWidgetArea area = Qt::RightDockWidgetArea, ///< Position of the dock (and also drawer)
Qt::WindowFlags flags = 0);
Qt::WindowFlags flags = {});
~FindAndReplace();

View File

@ -47,7 +47,7 @@ public:
GuiProgressView(
GuiView & parent, ///< the main window where to dock.
Qt::DockWidgetArea area, ///< Position of the dock (and also drawer)
Qt::WindowFlags flags = 0);
Qt::WindowFlags flags = {});
~GuiProgressView();
/// Controller inherited method.

View File

@ -26,7 +26,7 @@ class GuiSetBorder : public QWidget
{
Q_OBJECT
public:
GuiSetBorder(QWidget * parent = 0, Qt::WindowFlags fl = 0);
GuiSetBorder(QWidget * parent = 0, Qt::WindowFlags fl = {});
// We need tristate for multi-cell selection
enum BorderState {

View File

@ -65,7 +65,7 @@ public:
GuiSpellchecker(
GuiView & parent, ///< the main window where to dock.
Qt::DockWidgetArea area = Qt::RightDockWidgetArea, ///< Position of the dock (and also drawer)
Qt::WindowFlags flags = 0);
Qt::WindowFlags flags = {});
~GuiSpellchecker();
private:

View File

@ -32,7 +32,7 @@ public:
GuiToc(
GuiView & parent, ///< the main window where to dock.
Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of the dock (and also drawer)
Qt::WindowFlags flags = 0);
Qt::WindowFlags flags = {});
///
bool initialiseParams(std::string const & data);

View File

@ -100,7 +100,7 @@ public:
GuiViewSource(
GuiView & parent, ///< the main window where to dock.
Qt::DockWidgetArea area = Qt::BottomDockWidgetArea, ///< Position of the dock (and also drawer)
Qt::WindowFlags flags = 0);
Qt::WindowFlags flags = {});
/// Controller inherited method.
///@{