From d0f17343cc00e84aea1b9d792bb5ca5763cecb9d Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 24 Jul 2018 13:05:20 +0200 Subject: Print contacts --- sinksh/syntax_modules/sink_list.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sinksh/syntax_modules/sink_list.cpp b/sinksh/syntax_modules/sink_list.cpp index 7caeaf7..8b5ba5a 100644 --- a/sinksh/syntax_modules/sink_list.cpp +++ b/sinksh/syntax_modules/sink_list.cpp @@ -87,6 +87,17 @@ QStringList printToList(const Sink::ApplicationDomain::ApplicationDomainType &o, } } else if (value.canConvert()) { line << value.value().join(", "); + } else if (value.canConvert>()) { + QStringList list; + for (const auto &c : value.value>()) { + QString s; + { + QDebug debug{&s}; + debug << c; + } + list << s; + } + line << list.join(", "); } else { line << QString("Unprintable type: %1").arg(value.typeName()); } -- cgit v1.2.3