aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libqmenumodel/src/qmenumodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libqmenumodel/src/qmenumodel.cpp b/libqmenumodel/src/qmenumodel.cpp
index 7f4c383..53dc966 100644
--- a/libqmenumodel/src/qmenumodel.cpp
+++ b/libqmenumodel/src/qmenumodel.cpp
@@ -43,9 +43,9 @@ QMenuModel::QMenuModel(GMenuModel *other, QObject *parent)
{
setMenuModel(other);
- QObject::connect(this, SIGNAL(rowsInserted(const QModelIndex &, int, int)), this, SIGNAL(countChanged()));
- QObject::connect(this, SIGNAL(rowsRemoved(const QModelIndex &, int, int)), this, SIGNAL(countChanged()));
- QObject::connect(this, SIGNAL(modelReset()), this, SIGNAL(countChanged()));
+ connect(this, SIGNAL(rowsInserted(const QModelIndex &, int, int)), SIGNAL(countChanged()));
+ connect(this, SIGNAL(rowsRemoved(const QModelIndex &, int, int)), SIGNAL(countChanged()));
+ connect(this, SIGNAL(modelReset()), SIGNAL(countChanged()));
}
/*! \internal */