[LyX/master] Andr'e points out this is wrong. Of course it is, since that is not a pointer.

Richard Kimberly Heck rikiheck at lyx.org
Tue Mar 3 19:08:54 UTC 2020


commit 15659fed533362697a9f14f21e638a05dbfef649
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Tue Mar 3 14:27:03 2020 -0500

    Andr'e points out this is wrong. Of course it is, since that is not a pointer.
---
 src/frontends/qt/GuiToc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt/GuiToc.h b/src/frontends/qt/GuiToc.h
index 48f68b3..4042b85 100644
--- a/src/frontends/qt/GuiToc.h
+++ b/src/frontends/qt/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 = nullptr);
+			Qt::WindowFlags flags = {});
 
 	///
 	bool initialiseParams(std::string const & data);


More information about the lyx-cvs mailing list