Fix PalettePopup::showPopup signature

This commit is contained in:
David Capello 2014-04-19 21:03:50 -03:00
parent bf03d10b03
commit bc32c18dbb
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ PalettePopup::PalettePopup()
m_paletteListBox.PalChange.connect(&PalettePopup::onPalChange, this); m_paletteListBox.PalChange.connect(&PalettePopup::onPalChange, this);
} }
void PalettePopup::showPopup(gfx::Rect& bounds) void PalettePopup::showPopup(const gfx::Rect& bounds)
{ {
m_load->setEnabled(false); m_load->setEnabled(false);
m_paletteListBox.selectChild(NULL); m_paletteListBox.selectChild(NULL);

View File

@ -35,7 +35,7 @@ namespace app {
public: public:
PalettePopup(); PalettePopup();
void showPopup(gfx::Rect& bounds); void showPopup(const gfx::Rect& bounds);
protected: protected:
void onPalChange(raster::Palette* palette); void onPalChange(raster::Palette* palette);