mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Disable Document Mode for MainTab on MacOSX
Commit c4f06dc536
introduced Document
Mode on the MainTab QTabWidget. This doesn't look good on MacOSX.
Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e504742dc8
commit
0031b64df7
2 changed files with 5 additions and 4 deletions
|
@ -27,7 +27,11 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
|
|||
ui->weights->setModel(weightModel);
|
||||
ui->diveNotesMessage->hide();
|
||||
ui->diveNotesMessage->setCloseButtonVisible(false);
|
||||
|
||||
#ifdef __APPLE__
|
||||
setDocumentMode(false);
|
||||
#else
|
||||
setDocumentMode(true);
|
||||
#endif
|
||||
// we start out with the fields read-only; once things are
|
||||
// filled from a dive, they are made writeable
|
||||
ui->location->setReadOnly(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue