diff options
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r-- | qt-ui/maintab.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index c10d8737d..18e9b743a 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -42,7 +42,10 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), #ifdef __APPLE__ setDocumentMode(false); #else - setDocumentMode(true); + if (qApp->style()->objectName() == "gtk+") + 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 |