summaryrefslogtreecommitdiff
path: root/src/gui/kernel/qwidgetaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qwidgetaction.cpp')
-rw-r--r--src/gui/kernel/qwidgetaction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qwidgetaction.cpp b/src/gui/kernel/qwidgetaction.cpp
index 7dc2c67344..b72a41a4f3 100644
--- a/src/gui/kernel/qwidgetaction.cpp
+++ b/src/gui/kernel/qwidgetaction.cpp
@@ -212,8 +212,8 @@ void QWidgetAction::releaseWidget(QWidget *widget)
if (!d->createdWidgets.contains(widget))
return;
- disconnect(widget, SIGNAL(destroyed(QObject *)),
- this, SLOT(_q_widgetDestroyed(QObject *)));
+ disconnect(widget, SIGNAL(destroyed(QObject*)),
+ this, SLOT(_q_widgetDestroyed(QObject*)));
d->createdWidgets.removeAll(widget);
deleteWidget(widget);
}