aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-11-29 09:08:15 -0300
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-11-29 09:08:15 -0300
commitb3ac37876e6168cf91e3efedf7861709a5e1adef (patch)
tree92cb0c7793a463a9187f6b53c7574303789d3b2f
parent08b143ccdf437ce2e52cdc22b66487d5ba3e22c5 (diff)
downloadqmenumodel-b3ac37876e6168cf91e3efedf7861709a5e1adef.tar.gz
qmenumodel-b3ac37876e6168cf91e3efedf7861709a5e1adef.tar.bz2
qmenumodel-b3ac37876e6168cf91e3efedf7861709a5e1adef.zip
Used a shorter QObject::connect signature.
-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 */