mirror of
https://github.com/transmission/transmission
synced 2024-12-23 00:04:06 +00:00
fixup! refactor: remove exit-time destructors from transmission-qt (#1395)
This commit is contained in:
parent
68920f5fa6
commit
b8a02fdfb3
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ QVariant DBusInteropHelper::addMetainfo(QString const& metainfo)
|
|||
{
|
||||
auto request = QDBusMessage::createMethodCall(
|
||||
QStringLiteral("com.transmissionbt.Transmission"),
|
||||
QStringLiteral("com/transmissionbt/Transmission"),
|
||||
QStringLiteral("/com/transmissionbt/Transmission"),
|
||||
QStringLiteral("com.transmissionbt.Transmission"),
|
||||
QStringLiteral("AddMetainfo")
|
||||
);
|
||||
|
@ -50,7 +50,7 @@ void DBusInteropHelper::registerObject(QObject* parent)
|
|||
std::cerr << "couldn't register " << qPrintable(service_name) << std::endl;
|
||||
}
|
||||
|
||||
auto const object_path = QStringLiteral("com/transmissionbt/Transmission");
|
||||
auto const object_path = QStringLiteral("/com/transmissionbt/Transmission");
|
||||
if (!bus.registerObject(object_path, new InteropObject(parent), QDBusConnection::ExportAllSlots))
|
||||
{
|
||||
std::cerr << "couldn't register " << qPrintable(object_path) << std::endl;
|
||||
|
|
Loading…
Reference in a new issue