diff options
Diffstat (limited to 'common/typeindex.cpp')
-rw-r--r-- | common/typeindex.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/typeindex.cpp b/common/typeindex.cpp index b0494f3..9d71463 100644 --- a/common/typeindex.cpp +++ b/common/typeindex.cpp | |||
@@ -34,6 +34,12 @@ static QByteArray getByteArray(const QVariant &value) | |||
34 | return "nodate"; | 34 | return "nodate"; |
35 | } | 35 | } |
36 | } | 36 | } |
37 | if (value.canConvert<Sink::ApplicationDomain::Reference>()) { | ||
38 | const auto ba = value.value<Sink::ApplicationDomain::Reference>().value; | ||
39 | if (!ba.isEmpty()) { | ||
40 | return ba; | ||
41 | } | ||
42 | } | ||
37 | if (value.isValid() && !value.toByteArray().isEmpty()) { | 43 | if (value.isValid() && !value.toByteArray().isEmpty()) { |
38 | return value.toByteArray(); | 44 | return value.toByteArray(); |
39 | } | 45 | } |