commit 007a49a1326784d6940d4f1459c355a40f8cf60e Author: Juergen Spitzmueller <sp...@lyx.org> Date: Sat Mar 13 10:46:59 2021 +0100
Backport another straightforward deprecation fix --- src/frontends/qt4/DockView.h | 2 +- src/frontends/qt4/FindAndReplace.h | 2 +- src/frontends/qt4/GuiProgressView.h | 2 +- src/frontends/qt4/GuiSetBorder.h | 2 +- src/frontends/qt4/GuiSpellchecker.h | 2 +- src/frontends/qt4/GuiToc.h | 2 +- src/frontends/qt4/GuiViewSource.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/frontends/qt4/DockView.h b/src/frontends/qt4/DockView.h index 3c54c2a..4e2f4ad 100644 --- a/src/frontends/qt4/DockView.h +++ b/src/frontends/qt4/DockView.h @@ -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() {} diff --git a/src/frontends/qt4/FindAndReplace.h b/src/frontends/qt4/FindAndReplace.h index da854da..b117d7e 100644 --- a/src/frontends/qt4/FindAndReplace.h +++ b/src/frontends/qt4/FindAndReplace.h @@ -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(); diff --git a/src/frontends/qt4/GuiProgressView.h b/src/frontends/qt4/GuiProgressView.h index 9498909..51e4a55 100644 --- a/src/frontends/qt4/GuiProgressView.h +++ b/src/frontends/qt4/GuiProgressView.h @@ -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. diff --git a/src/frontends/qt4/GuiSetBorder.h b/src/frontends/qt4/GuiSetBorder.h index 7230e4d..cf7415c 100644 --- a/src/frontends/qt4/GuiSetBorder.h +++ b/src/frontends/qt4/GuiSetBorder.h @@ -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 { diff --git a/src/frontends/qt4/GuiSpellchecker.h b/src/frontends/qt4/GuiSpellchecker.h index 5851e8c..b9fe8e6 100644 --- a/src/frontends/qt4/GuiSpellchecker.h +++ b/src/frontends/qt4/GuiSpellchecker.h @@ -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: diff --git a/src/frontends/qt4/GuiToc.h b/src/frontends/qt4/GuiToc.h index d403bc9..bf06103 100644 --- a/src/frontends/qt4/GuiToc.h +++ b/src/frontends/qt4/GuiToc.h @@ -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); diff --git a/src/frontends/qt4/GuiViewSource.h b/src/frontends/qt4/GuiViewSource.h index 48f2903..3d35587 100644 --- a/src/frontends/qt4/GuiViewSource.h +++ b/src/frontends/qt4/GuiViewSource.h @@ -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. ///@{ -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs