[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:29:44 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=1290296

The following commit has been merged in the master branch:
commit 1290296e5c0d0e8f1dbf649efe4f07493dcc566a
Author: Elvis Angelaccio <elvis.angelaccio at kdemail.net>
Date:   Fri Jun 3 18:50:45 2016 +0200

    Don't leak QMenu in fileitemactionplugin
    
    REVIEW: 128091
---
 fileitemactionplugin/sendfileitemaction.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fileitemactionplugin/sendfileitemaction.cpp b/fileitemactionplugin/sendfileitemaction.cpp
index 157cbc5..2b3b722 100644
--- a/fileitemactionplugin/sendfileitemaction.cpp
+++ b/fileitemactionplugin/sendfileitemaction.cpp
@@ -73,7 +73,7 @@ QList<QAction*> SendFileItemAction::actions(const KFileItemListProperties& fileI
 
     if (actions.count() > 1) {
         QAction *menuAction = new QAction(QIcon::fromTheme("preferences-system-network"), i18n("Send via KDE Connect"), parentWidget);
-        QMenu *menu = new QMenu();
+        QMenu *menu = new QMenu(parentWidget);
         menu->addActions(actions);
         menuAction->setMenu(menu);
         return QList<QAction*>() << menuAction;

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list