Add warning when can't connect with wiimotedev dbus service

This commit is contained in:
Bartłomiej Burdukiewicz 2010-09-01 00:41:19 +00:00
parent 7d4e8d6add
commit 56c0c3807f
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,9 @@ void WiimotedevShortcuts::SetWiimotedevInterfaceActived(bool actived) {
connect(wiimotedev_iface_.get(), SIGNAL(dbusWiimoteGeneralButtons(uint,qulonglong)),
this, SLOT(DbusWiimoteGeneralButtons(uint,qulonglong)));
if (!wiimotedev_iface_.get()->isValid())
qWarning("Error connecting to the Wiimotedev-daemon DBUS service");
}
if (!actived && wiimotedev_iface_)