Commit 9fe9d1c7 authored by Marco Martin's avatar Marco Martin
Browse files

don't touch the backend if can't be instantiated

parent 94e5477f
......@@ -54,6 +54,7 @@ NetworkPlugin::NetworkPlugin(QObject *parent, const QVariantList &args)
if (!d->backend->isSupported()) {
delete d->backend;
qWarning() << "Unable to start backend, network information not available.";
connect(d->backend, &NetworkBackend::deviceAdded, this, &NetworkPlugin::onDeviceAdded);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment