Make Layer::getLayerNum() const.

This commit is contained in:
Mario J. Rugiero 2014-12-20 01:00:50 -03:00 committed by Mathias Gumz
parent 7e17056c35
commit 9667d538eb

View file

@ -43,7 +43,7 @@ public:
//typedef std::list<LayerItem *>::reverse_iterator reverse_iterator;
void setLayerNum(int layernum) { m_layernum = layernum; };
int getLayerNum() { return m_layernum; };
int getLayerNum() const { return m_layernum; };
// Put all items on the same layer (called when layer item added to)
void alignItem(LayerItem &item);
int countWindows();