[PC-BSD Commits] r15054 - pcbsd/current/src-qt4/pc-bluetoothmanager

svn at pcbsd.org svn at pcbsd.org
Tue Jan 24 12:33:46 PST 2012


Author: kenmoore
Date: 2012-01-24 20:33:46 +0000 (Tue, 24 Jan 2012)
New Revision: 15054

Modified:
   pcbsd/current/src-qt4/pc-bluetoothmanager/btmaingui.cpp
   pcbsd/current/src-qt4/pc-bluetoothmanager/pc-bluetoothmanager.pro
Log:
Finish up the scanning functionality to detect bluetooth devices



Modified: pcbsd/current/src-qt4/pc-bluetoothmanager/btmaingui.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-bluetoothmanager/btmaingui.cpp	2012-01-24 19:47:32 UTC (rev 15053)
+++ pcbsd/current/src-qt4/pc-bluetoothmanager/btmaingui.cpp	2012-01-24 20:33:46 UTC (rev 15054)
@@ -59,7 +59,12 @@
        ui->listNewDevice->addItem(name+" ("+bdaddrList[i]+")"); //Add it to the new device list
      }
    }
-   
+   //Clear the 
+   ui->newDeviceInfo->clear();
+   if(ui->listNewDevice->count()==0){
+     //No Devices found
+     ui->newDeviceInfo->append(tr("No Bluetooth devices discovered! Please put your device into \"discovery\" mode and rescan."));
+   }
 }
 
 void btmaingui::refreshOldDeviceList(){

Modified: pcbsd/current/src-qt4/pc-bluetoothmanager/pc-bluetoothmanager.pro
===================================================================
--- pcbsd/current/src-qt4/pc-bluetoothmanager/pc-bluetoothmanager.pro	2012-01-24 19:47:32 UTC (rev 15053)
+++ pcbsd/current/src-qt4/pc-bluetoothmanager/pc-bluetoothmanager.pro	2012-01-24 20:33:46 UTC (rev 15054)
@@ -16,3 +16,5 @@
 HEADERS  += btmaingui.h
 
 FORMS    += btmaingui.ui
+
+LIBS     += -lpcbsd



More information about the Commits mailing list