diff --git a/src/models/csvmodelexport.cpp b/src/models/csvmodelexport.cpp index 7602fba..0ab98af 100644 --- a/src/models/csvmodelexport.cpp +++ b/src/models/csvmodelexport.cpp @@ -50,7 +50,7 @@ bool CsvModelExporter::saveAs(const QString& filename) const { const QVariant field = m_model->data(m_model->index(i, j, m_rootIndex), Qt::DisplayRole); - switch (field.type()) + switch (field.typeId()) { default: {