Migrates ./Lts/Viewer successfully to Qt6

This commit is contained in:
torsten committed 2026-09-23 10:14:59 +02:00
1 parent cdb8c754e9
commit ed9fc51e7a
28 files changed
+250 -129

No files matched your search

@@ -24,7 +24,7 @@ DataDelegate::DataDelegate(QObject *parent)
QString DataDelegate::displayText(const QVariant &value, const QLocale &locale) const
{
if (value.type() == QVariant::Type::DateTime)
if (value.userType() == QMetaType::QDateTime)
return DTG::toString(value.toDateTime());
return QStyledItemDelegate::displayText(value, locale);
}