summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/buildstepspage.cpp
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2010-11-15 17:53:32 +0100
committercon <qtc-committer@nokia.com>2010-11-15 18:33:48 +0100
commit83228e8261733fe08973613effe5a44e80d4852d (patch)
tree8b1287d2489bdf8fd1672ee600626031bccf50b3 /src/plugins/projectexplorer/buildstepspage.cpp
parent951123a2119c19c029e07308b0dda43fbeff6cdf (diff)
downloadqt-creator-83228e8261733fe08973613effe5a44e80d4852d.tar.gz
Fixes: Mac: Size of build steps increases when hovered
The fixed size buttons were too big on Mac. Task-number: QTCREATORBUG-3098 Reviewed-by: Jens Bache-Wiig
Diffstat (limited to 'src/plugins/projectexplorer/buildstepspage.cpp')
-rw-r--r--src/plugins/projectexplorer/buildstepspage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/buildstepspage.cpp b/src/plugins/projectexplorer/buildstepspage.cpp
index 304d7e1b45..2636bb6876 100644
--- a/src/plugins/projectexplorer/buildstepspage.cpp
+++ b/src/plugins/projectexplorer/buildstepspage.cpp
@@ -163,7 +163,11 @@ void BuildStepListWidget::addBuildStepWidget(int pos, BuildStep *step)
// layout
Utils::FadingPanel *toolWidget = new Utils::FadingPanel(s.detailsWidget);
+#ifdef Q_WS_MAC
+ QSize buttonSize(20, 20);
+#else
QSize buttonSize(20, 26);
+#endif
s.upButton = new QToolButton(toolWidget);
s.upButton->setAutoRaise(true);