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 Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of
///the dock (and ///the dock (and
///also drawer) ///also drawer)
Qt::WindowFlags flags = 0); Qt::WindowFlags flags = {});
virtual ~DockView() {} virtual ~DockView() {}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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