summaryrefslogtreecommitdiffstats
path: root/tools/designer/src/components
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2011-03-08 18:13:46 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2011-03-08 18:14:25 (GMT)
commitcff4ff892778c6665f0283eb4bc5adf30f32c9b3 (patch)
treed62b00a3946e98840468be088ff098bd3b85674f /tools/designer/src/components
parent0229691e76484547c5265ff31777d235218b1156 (diff)
downloadQt-cff4ff892778c6665f0283eb4bc5adf30f32c9b3.zip
Qt-cff4ff892778c6665f0283eb4bc5adf30f32c9b3.tar.gz
Qt-cff4ff892778c6665f0283eb4bc5adf30f32c9b3.tar.bz2
Fix warning about uninitialised variable use
Diffstat (limited to 'tools/designer/src/components')
-rw-r--r--tools/designer/src/components/taskmenu/button_taskmenu.cpp2
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);