{
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();