summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-10-30 12:23:27 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-10-30 12:26:34 (GMT)
commit3a7804813d9dd4162e088bc19746abd20aaa7827 (patch)
tree16688e7f38526cf18036a328069829088bbdd4c1
parent30b0902cf05b0c1dc649e9c2e7ae0415e0c1d042 (diff)
downloadQt-3a7804813d9dd4162e088bc19746abd20aaa7827.zip
Qt-3a7804813d9dd4162e088bc19746abd20aaa7827.tar.gz
Qt-3a7804813d9dd4162e088bc19746abd20aaa7827.tar.bz2
Removed the margin in assistant on Mac.
Change 9551b8c349ce4e15a57c24a2408ee1b73c2b7510 enabled documentMode on the tabbar in Assistant. To make it look more native we also remove the margin around the tabwidget. Reviewed-by: Prasanth
-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 2722b2f..62b4736 100644
--- a/tools/assistant/tools/assistant/centralwidget.cpp
+++ b/tools/assistant/tools/assistant/centralwidget.cpp
@@ -222,8 +222,8 @@ CentralWidget::CentralWidget(QHelpEngine *engine, MainWindow *parent)
QVBoxLayout *vboxLayout = new QVBoxLayout(this);
QString resourcePath = QLatin1String(":/trolltech/assistant/images/");
-#ifndef Q_OS_MAC
vboxLayout->setMargin(0);
+#ifndef Q_OS_MAC
resourcePath.append(QLatin1String("win"));
#else
resourcePath.append(QLatin1String("mac"));