- kGsdService, kGsdPath, kGsdInterface, QDBusConnection::sessionBus(), this);
+ kGsdService, kGsdPath, kGsdInterface, QDBusConnection::sessionBus(), this);
+ }
+
+ QDBusMessage reply = interface_->call("GrabMediaPlayerKeys", Constants::NAME, (unsigned int) 0);
+ if (reply.type() == QDBusMessage::ErrorMessage) {
+ qWarning() << "Failed to grab media player keys. Error:" << reply.errorMessage();