Remove bool return type from PopupWindowPin::showPin()

This commit is contained in:
David Capello 2016-09-08 15:42:25 -03:00
parent efe31b02d9
commit 1f81e9f8d1
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ PopupWindowPin::PopupWindowPin(const std::string& text, ClickBehavior clickBehav
CENTER | MIDDLE));
}
bool PopupWindowPin::showPin(bool state)
void PopupWindowPin::showPin(bool state)
{
m_pin.setVisible(state);
}

View File

@ -17,7 +17,7 @@ namespace app {
public:
PopupWindowPin(const std::string& text, ClickBehavior clickBehavior);
bool showPin(bool state);
void showPin(bool state);
bool isPinned() const { return m_pin.isSelected(); }
void setPinned(bool pinned);