aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/qdbusmenumodel.cpp
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-12-11 16:53:21 +0000
committerTarmac <>2012-12-11 16:53:21 +0000
commit4b2c268dbb1c086ac711e900a1f23765c987f8e9 (patch)
tree3ee364e71cab446a4b183eb361261b57ca9e62f6 /libqmenumodel/src/qdbusmenumodel.cpp
parent0f20cc09a72e4d38eb101b649c965b495d255cf3 (diff)
parentedbfcdf9b83c09ad4519f55d1c648e0e2fc664eb (diff)
downloadqmenumodel-4b2c268dbb1c086ac711e900a1f23765c987f8e9.tar.gz
qmenumodel-4b2c268dbb1c086ac711e900a1f23765c987f8e9.tar.bz2
qmenumodel-4b2c268dbb1c086ac711e900a1f23765c987f8e9.zip
Fixed model disconnect function. Fixes: https://bugs.launchpad.net/bugs/1088518.
Approved by PS Jenkins bot, Bill Filler.
Diffstat (limited to 'libqmenumodel/src/qdbusmenumodel.cpp')
-rw-r--r--libqmenumodel/src/qdbusmenumodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libqmenumodel/src/qdbusmenumodel.cpp b/libqmenumodel/src/qdbusmenumodel.cpp
index b404d0b..bd678fe 100644
--- a/libqmenumodel/src/qdbusmenumodel.cpp
+++ b/libqmenumodel/src/qdbusmenumodel.cpp
@@ -84,6 +84,7 @@ void QDBusMenuModel::start()
void QDBusMenuModel::stop()
{
QDBusObject::disconnect();
+ setMenuModel(NULL);
}
/*! \internal */