summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@theqtcompany.com>2014-11-21 17:49:05 +0100
committerDaniel Teske <daniel.teske@theqtcompany.com>2014-11-24 11:48:42 +0100
commit5449e0a731dce1ff313c213ffe592c45b1d952d7 (patch)
tree7105f859e862299324d59143d934fab3242a60eb /src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp
parent0d9b2548400897a4c64d5955d51fa6a244f01701 (diff)
downloadqt-creator-5449e0a731dce1ff313c213ffe592c45b1d952d7.tar.gz
SettingsDialog: Fix default button
The default button would move to the first pushbutton that got focus. E.g. tabbing through the android settings would move the default button to the first button that got focus. The cause of that is that for QPushButton::setDefault to work, the button needs to be a child of the QDialog. So call it after adding the buttongroup to the layout. Change-Id: Ife35bf15aa8585f7931a87ee715f316bb02b36be Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp')
0 files changed, 0 insertions, 0 deletions