summaryrefslogtreecommitdiffstats
path: root/src/modules/editor
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2021-07-28 11:27:07 +0900
committerMichele Calgaro <[email protected]>2021-07-28 11:27:07 +0900
commitb990faf1751073b8541642745f1fb379ed215b2c (patch)
tree414c6407e147a0b00bf750241748b4adeaf90837 /src/modules/editor
parentde9c4613fd8d101c4c0ebc950795b346ae8b342b (diff)
downloadkvirc-b990faf1751073b8541642745f1fb379ed215b2c.tar.gz
kvirc-b990faf1751073b8541642745f1fb379ed215b2c.zip
Fixed FTBFS with clang.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/modules/editor')
-rw-r--r--src/modules/editor/scripteditor.cpp2
-rw-r--r--src/modules/editor/scripteditor.h2
2 files changed, 2 insertions, 2 deletions
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);