Skip to content

Commit

Permalink
Fix TipWindow() ctor signature
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed May 11, 2015
1 parent cff735a commit 063f1d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/tooltips.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ void TooltipManager::onTick()

// TipWindow

TipWindow::TipWindow(const char* text, gfx::Rect& target)
TipWindow::TipWindow(const char* text, const gfx::Rect& target)
: PopupWindow(text, kCloseOnClickInOtherWindow)
, m_arrowAlign(0)
, m_target(target)
Expand Down
2 changes: 1 addition & 1 deletion src/ui/tooltips.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ namespace ui {

class TipWindow : public PopupWindow {
public:
TipWindow(const char* text, gfx::Rect& target);
TipWindow(const char* text, const gfx::Rect& target);
~TipWindow();

int getArrowAlign() const;
Expand Down

0 comments on commit 063f1d1

Please sign in to comment.