Aparently, remove a QXB warning.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2017-04-04 20:01:47 +02:00 committed by Dirk Hohndel
parent 2f86cbdc36
commit 385816be2e
6 changed files with 9 additions and 9 deletions

View file

@ -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);