[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bbluedevil=5D_src/actionplugins/sendfile/helper=3A_C?=
From: Alex Fiestas <afiestas () kde ! org>
Date: 2011-04-02 14:54:10
Message-ID: 20110402145410.87C07A60C4 () git ! kde ! org
[Download RAW message or body]
Git commit 2c8cc8ade8b89bd5975586656395d2f87c32c172 by Alex Fiestas.
Committed on 02/04/2011 at 16:29.
Pushed by afiestas into branch 'master'.
Call startDiscovery just after adding the devices
I left commented a line that is clearly needed, sorry for that u.U
M +1 -1 src/actionplugins/sendfile/helper/discoverwidget.cpp
http://commits.kde.org/bluedevil/2c8cc8ade8b89bd5975586656395d2f87c32c172
diff --git a/src/actionplugins/sendfile/helper/discoverwidget.cpp \
b/src/actionplugins/sendfile/helper/discoverwidget.cpp index 3b218f2..9494997 100644
--- a/src/actionplugins/sendfile/helper/discoverwidget.cpp
+++ b/src/actionplugins/sendfile/helper/discoverwidget.cpp
@@ -55,13 +55,13 @@ void DiscoverWidget::startScan()
deviceList->clear();
stopScan();
-// Manager::self()->defaultAdapter()->startDiscovery();
QList <Device *> knownDevices = Manager::self()->defaultAdapter()->devices();
Q_FOREACH(Device *device, knownDevices) {
if (device->UUIDs().contains("00001105-0000-1000-8000-00805F9B34FB", \
Qt::CaseInsensitive)) { deviceFound(device);
}
}
+ Manager::self()->defaultAdapter()->startDiscovery();
}
void DiscoverWidget::stopScan()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic