From b990faf1751073b8541642745f1fb379ed215b2c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 28 Jul 2021 11:27:07 +0900 Subject: Fixed FTBFS with clang. Signed-off-by: Michele Calgaro --- src/modules/editor/scripteditor.cpp | 2 +- src/modules/editor/scripteditor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/editor') diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp index 5e6e3c65..f6875265 100644 --- a/src/modules/editor/scripteditor.cpp +++ b/src/modules/editor/scripteditor.cpp @@ -74,7 +74,7 @@ static TQColor g_clrFind(0,0,0); static TQFont g_fntNormal("Courier New",8); -KviCompletionBox::KviCompletionBox(TQWidget * parent = 0) +KviCompletionBox::KviCompletionBox(TQWidget * parent) : KviTalListBox(parent) { setPaletteForegroundColor(TQColor(0,0,0)); diff --git a/src/modules/editor/scripteditor.h b/src/modules/editor/scripteditor.h index f7ff0b37..50602ecf 100644 --- a/src/modules/editor/scripteditor.h +++ b/src/modules/editor/scripteditor.h @@ -47,7 +47,7 @@ class KviCompletionBox: public KviTalListBox Q_OBJECT public: - KviCompletionBox(TQWidget * parent); + KviCompletionBox(TQWidget * parent = 0); ~KviCompletionBox(){}; void updateContents(TQString word); -- cgit v1.2.1