~ubuntu-branches/ubuntu/precise/plasma-widget-networkmanagement/precise

« back to all changes in this revision

Viewing changes to applet/activatableitem.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2011-03-21 13:52:36 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20110321135236-mfkytyn2hujfwapm
Tags: 0.9~svngit20110312-0ubuntu1
* New upstream snapshot
* Add build-dep and runtime depends on mobile-broadband-provider-info
* Add =binary version to plasma-widget-networkmanagement depends on knm-runtime

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
 
86
86
RemoteInterfaceConnection* ActivatableItem::interfaceConnection() const
87
87
{
88
 
    return qobject_cast<RemoteInterfaceConnection*>(m_activatable);
 
88
    if (m_deleting) {
 
89
        return 0;
 
90
    }
 
91
    return dynamic_cast<RemoteInterfaceConnection*>(m_activatable);
89
92
}
90
93
 
91
94
void ActivatableItem::handleHasDefaultRouteChanged(bool has)