Mercurial > hg > svgui
diff view/View.h @ 285:9dd432665059
* Add a colour database, and Add New Colour function to the colour combo
in property box. The colour property is only correctly handled in the
waveform layer so far.
* Add en_GB translation, to translate those annoying Color texts in the
Qt colour picker dialog.
author | Chris Cannam |
---|---|
date | Wed, 11 Jul 2007 17:21:37 +0000 |
parents | 8acd30ed735c |
children | cd2492c5fe45 |
line wrap: on
line diff
--- a/view/View.h Fri Jul 06 15:17:35 2007 +0000 +++ b/view/View.h Wed Jul 11 17:21:37 2007 +0000 @@ -151,7 +151,7 @@ * the bottom layer and layer "getLayerCount()-1" is the top one. */ virtual Layer *getLayer(int n) { - if (n < m_layers.size()) return m_layers[n]; else return 0; + if (n < int(m_layers.size())) return m_layers[n]; else return 0; } /**