profile: remove empty state from profile

This was moved to the desktop version. Enter the profile in
the constructor. Somewhat surprisingly, this seems to work.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-07-01 18:56:50 +02:00 committed by Dirk Hohndel
parent 787a23f017
commit 12fd102e4f
3 changed files with 22 additions and 90 deletions

View file

@ -195,7 +195,6 @@ MainWindow::MainWindow() : QMainWindow(),
ui.mainErrorMessage->hide();
setEnabledToolbar(false);
profile->view->setEmptyState();
initialUiSetup();
readSettings();
diveList->setFocus();