diff options
author | Henrik Brautaset Aronsen <subsurface@henrik.synth.no> | 2013-05-24 21:15:49 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-25 08:17:14 -0700 |
commit | 5d05bb120716707ae0438f5a0395759bbf740fe1 (patch) | |
tree | 5e3af3656ffa7bf85e7b1a7d4787c10d63eae67f /qt-ui/mainwindow.cpp | |
parent | 884e1c337981ba98a3a29c398cf1ab847009e954 (diff) | |
download | subsurface-5d05bb120716707ae0438f5a0395759bbf740fe1.tar.gz |
Avoid marble widget resize when switching dives
The "no dive location" message box was displayed above the marble
widget, which made the layout splitter move horizontally.
Made the message box as an overlay on the map instead.
Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index b343140b0..8e0e54eaa 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -40,10 +40,7 @@ MainWindow::MainWindow() : ui(new Ui::MainWindow()) ui->setupUi(this); setWindowIcon(QIcon(":subsurface-icon")); connect(ui->ListWidget, SIGNAL(currentDiveChanged(int)), this, SLOT(current_dive_changed(int))); - ui->globeMessage->hide(); ui->mainErrorMessage->hide(); - ui->globe->setMessageWidget(ui->globeMessage); - ui->globeMessage->setCloseButtonVisible(false); ui->ProfileWidget->setFocusProxy(ui->ListWidget); ui->ListWidget->reload(); readSettings(); |