diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-06-28 03:00:11 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-06-28 03:01:20 +0200 |
commit | 1c95c929734c3a6b12acf6bedeb81509e78b8279 (patch) | |
tree | f4b3cfbd643bdc37bdb05cf602181d8635ce78d1 /kbruch/src | |
parent | b2c30738278d21c4477cad6b473a652a20354add (diff) | |
download | tdeedu-1c95c929734c3a6b12acf6bedeb81509e78b8279.tar.gz tdeedu-1c95c929734c3a6b12acf6bedeb81509e78b8279.zip |
Fix FTBFS with clang
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 191490e34508041a8bfab9535f7e65ee2c71b695)
Diffstat (limited to 'kbruch/src')
-rw-r--r-- | kbruch/src/fractionbasewidget.cpp | 2 | ||||
-rw-r--r-- | kbruch/src/ratiowidget.cpp | 2 | ||||
-rw-r--r-- | kbruch/src/resultwidget.cpp | 2 | ||||
-rw-r--r-- | kbruch/src/taskwidget.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/kbruch/src/fractionbasewidget.cpp b/kbruch/src/fractionbasewidget.cpp index 02fd1cfb..0cc52c8f 100644 --- a/kbruch/src/fractionbasewidget.cpp +++ b/kbruch/src/fractionbasewidget.cpp @@ -26,7 +26,7 @@ #include "settingsclass.h" -FractionBaseWidget::FractionBaseWidget(TQWidget * parent = 0, const char * name = 0) : +FractionBaseWidget::FractionBaseWidget(TQWidget * parent, const char * name) : TQWidget(parent, name) { #ifdef DEBUG diff --git a/kbruch/src/ratiowidget.cpp b/kbruch/src/ratiowidget.cpp index dddf7d11..9323cb1d 100644 --- a/kbruch/src/ratiowidget.cpp +++ b/kbruch/src/ratiowidget.cpp @@ -21,7 +21,7 @@ /* these includes are needed for TQt support */ #include <tqpainter.h> -RatioWidget::RatioWidget(TQWidget * parent = 0, const char * name = 0, +RatioWidget::RatioWidget(TQWidget * parent, const char * name, const ratio para_ratio = *new ratio()) : FractionBaseWidget(parent, name), m_ratio(para_ratio) { diff --git a/kbruch/src/resultwidget.cpp b/kbruch/src/resultwidget.cpp index caecfdbe..9735b046 100644 --- a/kbruch/src/resultwidget.cpp +++ b/kbruch/src/resultwidget.cpp @@ -23,7 +23,7 @@ #include "settingsclass.h" -ResultWidget::ResultWidget(TQWidget * parent = 0, const char * name = 0, +ResultWidget::ResultWidget(TQWidget * parent, const char * name, const ratio para_result = *new ratio()) : FractionBaseWidget(parent, name), m_result(para_result) { diff --git a/kbruch/src/taskwidget.cpp b/kbruch/src/taskwidget.cpp index 3dbe954e..c43fcde6 100644 --- a/kbruch/src/taskwidget.cpp +++ b/kbruch/src/taskwidget.cpp @@ -24,7 +24,7 @@ /* these includes are needed for TQt support */ #include <tqpainter.h> -TaskWidget::TaskWidget(TQWidget * parent = 0, const char * name = 0, +TaskWidget::TaskWidget(TQWidget * parent, const char * name, const task para_task = *new task()) : FractionBaseWidget(parent, name), m_task(para_task) { |