From 7c31bfa423c2da7c41f53ecde6c159fca35f3d54 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 21 Dec 2018 13:37:07 +0100 Subject: [PATCH] Compile fix for Qt < 5.7 Only after that version, the QAction argument is optional. --- src/frontends/qt4/GuiCharacter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiCharacter.h b/src/frontends/qt4/GuiCharacter.h index ca55f33be9..40da643dff 100644 --- a/src/frontends/qt4/GuiCharacter.h +++ b/src/frontends/qt4/GuiCharacter.h @@ -112,9 +112,9 @@ private: bool nospellcheck_; /// - QAction * resetdefault_ = new QAction; + QAction * resetdefault_ = new QAction(this); /// - QAction * resetnochange_ = new QAction; + QAction * resetnochange_ = new QAction(this); }; } // namespace frontend -- 2.39.5