# HG changeset patch # User Chris Cannam # Date 1568975714 -3600 # Node ID 7fc6256af2d28e896a03be6a9426a1089337b1f2 # Parent 4eac4bf35b45d4e6403b87f08ea5c6b798e5df6a Reorder fields to ensure consistency with older Image model code diff -r 4eac4bf35b45 -r 7fc6256af2d2 base/Event.h --- a/base/Event.h Tue Sep 17 11:21:33 2019 +0100 +++ b/base/Event.h Fri Sep 20 11:35:14 2019 +0100 @@ -370,9 +370,13 @@ list << QString("%1").arg(m_level); } } - + + // Put URI before label, to preserve the ordering previously + // used in the custom Image model exporter. We shouldn't + // change the column ordering unless (until?) we provide a + // facility for the user to customise it + if (m_uri != "") list << m_uri; if (m_label != "") list << m_label; - if (m_uri != "") list << m_uri; return list.join(delimiter); }