1
0
Fork 0
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:
Charles Kerr 2020-08-16 20:43:14 -05:00
parent 68920f5fa6
commit b8a02fdfb3

View file

@ -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;