summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.cpp
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 /desktop-widgets/tab-widgets/maintab.cpp
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>
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.cpp')
-rw-r--r--desktop-widgets/tab-widgets/maintab.cpp8
1 files changed, 4 insertions, 4 deletions
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);