mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:43:24 +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);
|
||||
|
|
|
@ -16,9 +16,6 @@
|
|||
<property name="currentIndex">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="documentMode">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="notesTab">
|
||||
<attribute name="title">
|
||||
<string>Dive Notes</string>
|
||||
|
|
Loading…
Add table
Reference in a new issue