diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2011-03-08 18:13:46 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2011-03-08 18:14:25 (GMT) |
commit | cff4ff892778c6665f0283eb4bc5adf30f32c9b3 (patch) | |
tree | d62b00a3946e98840468be088ff098bd3b85674f /tools | |
parent | 0229691e76484547c5265ff31777d235218b1156 (diff) | |
download | Qt-cff4ff892778c6665f0283eb4bc5adf30f32c9b3.zip Qt-cff4ff892778c6665f0283eb4bc5adf30f32c9b3.tar.gz Qt-cff4ff892778c6665f0283eb4bc5adf30f32c9b3.tar.bz2 |
Fix warning about uninitialised variable use
Diffstat (limited to 'tools')
-rw-r--r-- | tools/designer/src/components/taskmenu/button_taskmenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/src/components/taskmenu/button_taskmenu.cpp b/tools/designer/src/components/taskmenu/button_taskmenu.cpp index b0b7d4a..953996b 100644 --- a/tools/designer/src/components/taskmenu/button_taskmenu.cpp +++ b/tools/designer/src/components/taskmenu/button_taskmenu.cpp @@ -528,7 +528,7 @@ bool ButtonTaskMenu::refreshAssignMenu(const QDesignerFormWindowInterface *fw, i QList<QAction*> ButtonTaskMenu::taskActions() const { ButtonTaskMenu *ncThis = const_cast<ButtonTaskMenu*>(this); - QButtonGroup *buttonGroup; + QButtonGroup *buttonGroup = 0; QDesignerFormWindowInterface *fw = formWindow(); const SelectionType st = selectionType(fw->cursor(), &buttonGroup); |