diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2012-12-11 16:53:21 +0000 |
---|---|---|
committer | Tarmac <> | 2012-12-11 16:53:21 +0000 |
commit | 4b2c268dbb1c086ac711e900a1f23765c987f8e9 (patch) | |
tree | 3ee364e71cab446a4b183eb361261b57ca9e62f6 | |
parent | 0f20cc09a72e4d38eb101b649c965b495d255cf3 (diff) | |
parent | edbfcdf9b83c09ad4519f55d1c648e0e2fc664eb (diff) | |
download | qmenumodel-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.
-rw-r--r-- | libqmenumodel/src/qdbusmenumodel.cpp | 1 |
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 */ |