diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-11-19 10:06:25 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-11-19 10:07:25 (GMT) |
commit | ae68511de0cfa23486c4871cc45e39c05f331046 (patch) | |
tree | 82d68d02560cbcf85a93c0ee6834d85d4bc95001 /tools | |
parent | 9590574158d0d976f66c9f7ca36f88b2f28d52b9 (diff) | |
download | Qt-ae68511de0cfa23486c4871cc45e39c05f331046.zip Qt-ae68511de0cfa23486c4871cc45e39c05f331046.tar.gz Qt-ae68511de0cfa23486c4871cc45e39c05f331046.tar.bz2 |
Enabled documentMode in assistant only on Mac.
The doc says setting a document mode removes a frame, which makes assistant
look weird on non-Mac platforms.
Reviewed-by: Prasanth
Diffstat (limited to 'tools')
-rw-r--r-- | tools/assistant/tools/assistant/centralwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/assistant/tools/assistant/centralwidget.cpp b/tools/assistant/tools/assistant/centralwidget.cpp index 67d803d..6f6875f 100644 --- a/tools/assistant/tools/assistant/centralwidget.cpp +++ b/tools/assistant/tools/assistant/centralwidget.cpp @@ -227,10 +227,10 @@ CentralWidget::CentralWidget(QHelpEngine *engine, MainWindow *parent) resourcePath.append(QLatin1String("win")); #else resourcePath.append(QLatin1String("mac")); + tabWidget->setDocumentMode(true); #endif tabWidget = new QTabWidget(this); - tabWidget->setDocumentMode(true); connect(tabWidget, SIGNAL(currentChanged(int)), this, SLOT(currentPageChanged(int))); |