summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2017-04-04 20:01:47 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-06 18:25:53 -0700
commit385816be2ee120850415ae79a2187bf0cdbce593 (patch)
tree84c1010860953eb4eaa71490592f1c75d248d01e
parent2f86cbdc3690aa0e5ef8e321f4d5dbb10bf640cc (diff)
downloadsubsurface-385816be2ee120850415ae79a2187bf0cdbce593.tar.gz
Aparently, remove a QXB warning.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--desktop-widgets/tab-widgets/TabBase.h2
-rw-r--r--desktop-widgets/tab-widgets/TabDiveExtraInfo.h2
-rw-r--r--desktop-widgets/tab-widgets/TabDiveInformation.h2
-rw-r--r--desktop-widgets/tab-widgets/TabDivePhotos.h2
-rw-r--r--desktop-widgets/tab-widgets/TabDiveStatistics.h2
-rw-r--r--desktop-widgets/tab-widgets/maintab.cpp8
6 files changed, 9 insertions, 9 deletions
diff --git a/desktop-widgets/tab-widgets/TabBase.h b/desktop-widgets/tab-widgets/TabBase.h
index c5f3c4dcc..b2caf5ffc 100644
--- a/desktop-widgets/tab-widgets/TabBase.h
+++ b/desktop-widgets/tab-widgets/TabBase.h
@@ -9,7 +9,7 @@ class TabBase : public QWidget {
Q_OBJECT
public:
- TabBase(QWidget *parent);
+ TabBase(QWidget *parent = 0);
virtual void updateData() = 0;
virtual void clear() = 0;
};
diff --git a/desktop-widgets/tab-widgets/TabDiveExtraInfo.h b/desktop-widgets/tab-widgets/TabDiveExtraInfo.h
index 194e6cfd3..11ec18f7a 100644
--- a/desktop-widgets/tab-widgets/TabDiveExtraInfo.h
+++ b/desktop-widgets/tab-widgets/TabDiveExtraInfo.h
@@ -12,7 +12,7 @@ class ExtraDataModel;
class TabDiveExtraInfo : public TabBase {
Q_OBJECT
public:
- TabDiveExtraInfo(QWidget *parent);
+ TabDiveExtraInfo(QWidget *parent = 0);
~TabDiveExtraInfo();
void updateData() override;
void clear() override;
diff --git a/desktop-widgets/tab-widgets/TabDiveInformation.h b/desktop-widgets/tab-widgets/TabDiveInformation.h
index e67b981c9..7e1f85f3f 100644
--- a/desktop-widgets/tab-widgets/TabDiveInformation.h
+++ b/desktop-widgets/tab-widgets/TabDiveInformation.h
@@ -10,7 +10,7 @@ namespace Ui {
class TabDiveInformation : public TabBase {
Q_OBJECT
public:
- TabDiveInformation(QWidget *parent);
+ TabDiveInformation(QWidget *parent = 0);
~TabDiveInformation();
void updateData() override;
void clear() override;
diff --git a/desktop-widgets/tab-widgets/TabDivePhotos.h b/desktop-widgets/tab-widgets/TabDivePhotos.h
index f2c73b572..99196a84f 100644
--- a/desktop-widgets/tab-widgets/TabDivePhotos.h
+++ b/desktop-widgets/tab-widgets/TabDivePhotos.h
@@ -12,7 +12,7 @@ class DivePictureModel;
class TabDivePhotos : public TabBase {
Q_OBJECT
public:
- TabDivePhotos(QWidget *parent);
+ TabDivePhotos(QWidget *parent = 0);
~TabDivePhotos();
void updateData() override;
void clear() override;
diff --git a/desktop-widgets/tab-widgets/TabDiveStatistics.h b/desktop-widgets/tab-widgets/TabDiveStatistics.h
index fd0d4ec0d..550fcf991 100644
--- a/desktop-widgets/tab-widgets/TabDiveStatistics.h
+++ b/desktop-widgets/tab-widgets/TabDiveStatistics.h
@@ -10,7 +10,7 @@ namespace Ui {
class TabDiveStatistics : public TabBase {
Q_OBJECT
public:
- TabDiveStatistics(QWidget *parent);
+ TabDiveStatistics(QWidget *parent = 0);
~TabDiveStatistics();
void updateData() override;
void clear() override;
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp
index 28e17e66e..7e12412f9 100644
--- a/desktop-widgets/tab-widgets/maintab.cpp
+++ b/desktop-widgets/tab-widgets/maintab.cpp
@@ -45,13 +45,13 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
{
ui.setupUi(this);
- extraWidgets << new TabDiveExtraInfo(this);
+ extraWidgets << new TabDiveExtraInfo();
ui.tabWidget->addTab(extraWidgets.last(), "Extra Info");
- extraWidgets << new TabDiveInformation(this);
+ extraWidgets << new TabDiveInformation();
ui.tabWidget->addTab(extraWidgets.last(), "Information");
- extraWidgets << new TabDiveStatistics(this);
+ extraWidgets << new TabDiveStatistics();
ui.tabWidget->addTab(extraWidgets.last(), "Statistics");
- extraWidgets << new TabDivePhotos(this);
+ extraWidgets << new TabDivePhotos();
ui.tabWidget->addTab(extraWidgets.last(), "Photos");
ui.dateEdit->setDisplayFormat(prefs.date_format);