[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_J?=
From:       Alex Fiestas <afiestas () kde ! org>
Date:       2011-04-02 14:54:10
Message-ID: 20110402145410.8A0AAA60C6 () git ! kde ! org
[Download RAW message or body]

Git commit d23b44588517b8a23e0fcbf30cb4fa205cc19a22 by Alex Fiestas.
Committed on 02/04/2011 at 16:28.
Pushed by afiestas into branch 'master'.

Just in case, check if the device has the UUID with case insensitive

M  +1    -1    src/actionplugins/sendfile/helper/discoverwidget.cpp     

http://commits.kde.org/bluedevil/d23b44588517b8a23e0fcbf30cb4fa205cc19a22

diff --git a/src/actionplugins/sendfile/helper/discoverwidget.cpp \
b/src/actionplugins/sendfile/helper/discoverwidget.cpp index ebdb657..3b218f2 100644
--- a/src/actionplugins/sendfile/helper/discoverwidget.cpp
+++ b/src/actionplugins/sendfile/helper/discoverwidget.cpp
@@ -58,7 +58,7 @@ void DiscoverWidget::startScan()
 //     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")) {
+        if (device->UUIDs().contains("00001105-0000-1000-8000-00805F9B34FB", \
Qt::CaseInsensitive)) {  deviceFound(device);
         }
     }


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

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