summaryrefslogtreecommitdiffstats
path: root/tools/assistant
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-11-19 10:06:25 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-11-19 10:07:25 (GMT)
commitae68511de0cfa23486c4871cc45e39c05f331046 (patch)
tree82d68d02560cbcf85a93c0ee6834d85d4bc95001 /tools/assistant
parent9590574158d0d976f66c9f7ca36f88b2f28d52b9 (diff)
downloadQt-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/assistant')
-rw-r--r--tools/assistant/tools/assistant/centralwidget.cpp2
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)));