Changeset View
Changeset View
Standalone View
Standalone View
src/propertyinfo.cpp
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | 63 | case Property::Artist: | |||
---|---|---|---|---|---|
65 | d->displayName = i18nc("@label", "Artist"); | 65 | d->displayName = i18nc("@label", "Artist"); | ||
66 | d->valueType = QVariant::StringList; | 66 | d->valueType = QVariant::StringList; | ||
67 | d->formatAsString = &FormatStrings::joinStringListFunction; | 67 | d->formatAsString = &FormatStrings::joinStringListFunction; | ||
68 | break; | 68 | break; | ||
69 | 69 | | |||
70 | case Property::AspectRatio: | 70 | case Property::AspectRatio: | ||
71 | d->name = QStringLiteral("aspectRatio"); | 71 | d->name = QStringLiteral("aspectRatio"); | ||
72 | d->displayName = i18nc("@label", "Aspect Ratio"); | 72 | d->displayName = i18nc("@label", "Aspect Ratio"); | ||
73 | d->valueType = QVariant::Int; | 73 | d->valueType = QVariant::Double; | ||
74 | d->formatAsString = &FormatStrings::formatAspectRatio; | ||||
74 | break; | 75 | break; | ||
75 | 76 | | |||
76 | case Property::Author: | 77 | case Property::Author: | ||
77 | d->name = QStringLiteral("author"); | 78 | d->name = QStringLiteral("author"); | ||
78 | d->displayName = i18nc("@label", "Author"); | 79 | d->displayName = i18nc("@label", "Author"); | ||
79 | d->valueType = QVariant::StringList; | 80 | d->valueType = QVariant::StringList; | ||
80 | d->formatAsString = &FormatStrings::joinStringListFunction; | 81 | d->formatAsString = &FormatStrings::joinStringListFunction; | ||
81 | break; | 82 | break; | ||
▲ Show 20 Lines • Show All 638 Lines • Show Last 20 Lines |