mirror of
https://github.com/transmission/transmission.git
synced 2026-02-15 07:26:49 +00:00
refactor: use unmanaged_string for periodic torrent_get fields (#7977)
* refactor: remove Session::addKeyName() refactor: remove Session::removeKeyName() these should have been removed a long time ago * fix: better logging on error in Converters * refactor: add Qt-app-specific variant converters * refactor: use tr_variant::unmanaged_string(tr_quark) when in torrent_get table mode
This commit is contained in:
@@ -137,7 +137,7 @@ public:
|
||||
return detail::from_array(src);
|
||||
}
|
||||
|
||||
fmt::print(stderr, "ERROR: No serializer registered for type '{}'\\n", typeid(T).name());
|
||||
fmt::print(stderr, "ERROR: No serializer registered for type '{}'\n", typeid(T).name());
|
||||
return {};
|
||||
}
|
||||
|
||||
@@ -166,6 +166,7 @@ public:
|
||||
return detail::to_array(src, ptgt);
|
||||
}
|
||||
|
||||
fmt::print(stderr, "ERROR: No deserializer registered for type '{}'\n", typeid(T).name());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user