summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-07-25 14:24:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-07-25 14:26:50 +0900
commit9e9f8a1cb9e0d01991d2e1a15f4af766853ece89 (patch)
treed03d9f810090727f8bf317d35e05d48542624444
parentf01229968a5111fbfb3ca093d416b707745abcfd (diff)
downloadtdeedu-9e9f8a1cb9e0d01991d2e1a15f4af766853ece89.tar.gz
tdeedu-9e9f8a1cb9e0d01991d2e1a15f4af766853ece89.zip
Fixed FTBFS with clang caused by implicit default constructor definition.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 6baf320283645a5071de779d9aa4a202029cf2df)
-rw-r--r--libtdeedu/extdate/testwidget.cpp2
-rw-r--r--libtdeedu/extdate/testwidget.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libtdeedu/extdate/testwidget.cpp b/libtdeedu/extdate/testwidget.cpp
index 8a517c4a..a6912ef4 100644
--- a/libtdeedu/extdate/testwidget.cpp
+++ b/libtdeedu/extdate/testwidget.cpp
@@ -25,7 +25,7 @@
#include "extdatewidget.h"
#include "testwidget.h"
-TestWidget::TestWidget( TQWidget *p=0, const char *name=0 ) : TDEMainWindow( p, name ) {
+TestWidget::TestWidget( TQWidget *p, const char *name ) : TDEMainWindow( p, name ) {
TQWidget *w = new TQWidget(this);
glay = new TQGridLayout(w, 3, 2);
diff --git a/libtdeedu/extdate/testwidget.h b/libtdeedu/extdate/testwidget.h
index cc4bc2db..6b6db294 100644
--- a/libtdeedu/extdate/testwidget.h
+++ b/libtdeedu/extdate/testwidget.h
@@ -33,7 +33,7 @@ class TestWidget : public TDEMainWindow {
Q_OBJECT
public:
- TestWidget( TQWidget *parent, const char *name );
+ TestWidget(TQWidget *parent = NULL, const char *name = NULL);
~TestWidget() {}
public slots: