[LyX/master] Fix nullptr warning

Richard Kimberly Heck rikiheck at lyx.org
Tue Mar 3 04:47:20 UTC 2020


commit 84e91772eb255076384c96f662b56a0fbdf635a4
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Tue Mar 3 00:08:46 2020 -0500

    Fix nullptr warning
---
 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 f29a9af..48f68b3 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 = 0);
+		Qt::WindowFlags flags = nullptr);
 
 	///
 	bool initialiseParams(std::string const & data);


More information about the lyx-cvs mailing list