diff options
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index cfe8e7f82..788c2808e 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -88,7 +88,7 @@ ProfileWidget2::ProfileWidget2(QWidget *parent) : #ifndef QT_NO_DEBUG QTableView *diveDepthTableView = new QTableView(); diveDepthTableView->setModel(dataModel); - mainWindow()->tabWidget()->addTab(diveDepthTableView, "Depth Model"); + MainWindow::instance()->tabWidget()->addTab(diveDepthTableView, "Depth Model"); #endif } |