comparison base/Event.h @ 1787:9ab3be243397 time-frequency-boxes

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
1786:a72921e2194f 1787:9ab3be243397
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 {