[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeplasma-addons/applets/rememberthemilk
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2010-06-01 21:51:14
Message-ID: 20100601215114.09EFAAC8C7 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1133525 by aseigo:

parent the services to the applet so they get cleaned up with the applet


 M  +2 -0      rememberthemilk-plasmoid.cpp  


--- trunk/KDE/kdeplasma-addons/applets/rememberthemilk/rememberthemilk-plasmoid.cpp \
#1133524:1133525 @@ -92,6 +92,7 @@
   m_engine->connectSource("Auth", this);
   
   m_authService = m_engine->serviceForSource("Auth");
+  m_authService->setParent(this);
   connect(m_authService, SIGNAL(finished(Plasma::ServiceJob*)), \
SLOT(jobFinished(Plasma::ServiceJob*)));  
   if (m_token.isNull())
@@ -241,6 +242,7 @@
 {
     if (!m_taskService) {
       m_taskService = m_engine->serviceForSource("Tasks");
+      m_taskService->setParent(this);
       connect(m_taskService, SIGNAL(finished(Plasma::ServiceJob*)), \
SLOT(jobFinished(Plasma::ServiceJob*)));  }
     KConfigGroup cg = m_taskService->operationDescription("create");


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic