Version: (using KDE 4.3.2) Compiler: GCC 4.3.3 OS: Linux Installed from: Unspecified Linux When kbluetooth runs in a localized language, setting device mode to discoverable/hidden doesn't work because the relevant code portion checks equality of the currently selected item agains "discoverable". The matching should be done in a localization-transparent manner like using setItemData() etc.
Created attachment 37531 [details] Patch to fix the problem Use itemData facility to not depend on translated strings when checking if the selected item is "discoverable"
I can confirm for KBluetooth 0.4 (KDE 4.3.2) with German localization.
// Add Alex to CC as I can't change the Assignee
Wow, thx for the patch! If I remember correctly there are a couple more of comaprations like this one, I'll have to take a look at it before release the final 0.4. I'll review the patch ASAP. Thx again!
Thanks for the patch it works very well!
SVN commit 1040499 by afiestas: Patch by Ozan Çağlayan Use itemData facility to not depend on translated strings when checking if the selected item is "discoverable" BUG: 210309 M +9 -4 adapterwidget.cpp M +1 -1 adapterwidget.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1040499