diff options
Diffstat (limited to 'common/domain/propertyregistry.cpp')
-rw-r--r-- | common/domain/propertyregistry.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/domain/propertyregistry.cpp b/common/domain/propertyregistry.cpp index d929d68..00bbb1d 100644 --- a/common/domain/propertyregistry.cpp +++ b/common/domain/propertyregistry.cpp | |||
@@ -75,6 +75,12 @@ QVariant parseString<QList<QByteArray>>(const QString &s) | |||
75 | } | 75 | } |
76 | 76 | ||
77 | template <> | 77 | template <> |
78 | QVariant parseString<QStringList>(const QString &s) | ||
79 | { | ||
80 | return s.split(','); | ||
81 | } | ||
82 | |||
83 | template <> | ||
78 | QVariant parseString<QDateTime>(const QString &s) | 84 | QVariant parseString<QDateTime>(const QString &s) |
79 | { | 85 | { |
80 | return QVariant::fromValue(QDateTime::fromString(s, Qt::ISODate)); | 86 | return QVariant::fromValue(QDateTime::fromString(s, Qt::ISODate)); |