diff options
-rw-r--r-- | qt-ui/maintab.cpp | 6 | ||||
-rw-r--r-- | qt-ui/maintab.ui | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index b9b5d0ab7..080ebdf44 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -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); diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui index 55d4f3a54..c05589d20 100644 --- a/qt-ui/maintab.ui +++ b/qt-ui/maintab.ui @@ -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> |