comparison base/Event.h @ 1788:7fc6256af2d2

Reorder fields to ensure consistency with older Image model code
author Chris Cannam
date Fri, 20 Sep 2019 11:35:14 +0100
parents 4ca784e5033e
children baafe1bb7e51
comparison
equal deleted inserted replaced
1784:4eac4bf35b45 1788:7fc6256af2d2
368 if (m_haveLevel) { 368 if (m_haveLevel) {
369 if (!(opts & DataExportOmitLevels)) { 369 if (!(opts & DataExportOmitLevels)) {
370 list << QString("%1").arg(m_level); 370 list << QString("%1").arg(m_level);
371 } 371 }
372 } 372 }
373 373
374 // Put URI before label, to preserve the ordering previously
375 // used in the custom Image model exporter. We shouldn't
376 // change the column ordering unless (until?) we provide a
377 // facility for the user to customise it
378 if (m_uri != "") list << m_uri;
374 if (m_label != "") list << m_label; 379 if (m_label != "") list << m_label;
375 if (m_uri != "") list << m_uri;
376 380
377 return list.join(delimiter); 381 return list.join(delimiter);
378 } 382 }
379 383
380 uint hash(uint seed = 0) const { 384 uint hash(uint seed = 0) const {