--- branches/KDE/4.5/kdebase/runtime/kioslave/network/network/builder/upnp/upnpnetworkbuilder.cpp 2010/08/08 00:40:00 1160390 +++ branches/KDE/4.5/kdebase/runtime/kioslave/network/network/builder/upnp/upnpnetworkbuilder.cpp 2010/08/08 00:41:23 1160391 @@ -36,6 +36,7 @@ #include #include #include +#include #include #include @@ -60,6 +61,11 @@ void UpnpNetworkBuilder::start() { + QTimer::singleShot(0, this, SLOT(startBrowse())); +} + +void UpnpNetworkBuilder::startBrowse() +{ qDBusRegisterMetaType(); qDBusRegisterMetaType(); --- branches/KDE/4.5/kdebase/runtime/kioslave/network/network/builder/upnp/upnpnetworkbuilder.h 2010/08/08 00:40:00 1160390 +++ branches/KDE/4.5/kdebase/runtime/kioslave/network/network/builder/upnp/upnpnetworkbuilder.h 2010/08/08 00:41:23 1160391 @@ -63,6 +63,8 @@ void removeUPnPDevices( const QList& devices ); private Q_SLOTS: + void startBrowse(); + void onDevicesAdded( const DeviceTypeMap& deviceTypeMap ); void onDevicesRemoved( const DeviceTypeMap& deviceTypeMap ); void onAddedDeviceDetails( const Cagibi::Device& device );