projects
/
profile
/
ivi
/
bluetooth-qt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3523e37
)
Change the timeout type
author
wrsskyzhang
<wen.zhang@windriver.com>
Wed, 13 Jul 2011 02:04:11 +0000
(22:04 -0400)
committer
wrsskyzhang
<wen.zhang@windriver.com>
Wed, 13 Jul 2011 02:04:11 +0000
(22:04 -0400)
bluetooth-qt/bluetoothdevicemodel.cpp
patch
|
blob
|
history
diff --git
a/bluetooth-qt/bluetoothdevicemodel.cpp
b/bluetooth-qt/bluetoothdevicemodel.cpp
index
f765168
..
256142e
100644
(file)
--- a/
bluetooth-qt/bluetoothdevicemodel.cpp
+++ b/
bluetooth-qt/bluetoothdevicemodel.cpp
@@
-131,7
+131,7
@@
void BluetoothDevicesModel::setDiscoverableTimeout(int timeout)
{
if(adapter)
{
- QDBusReply<void> reply = adapter->SetProperty("DiscoverableTimeout", QDBusVariant(timeout));
+ QDBusReply<void> reply = adapter->SetProperty("DiscoverableTimeout", QDBusVariant(
(uint)
timeout));
if(!reply.isValid())
{
qDebug()<<"error setting discoverable timeout: "<<reply.error().message();