summaryrefslogtreecommitdiff
path: root/src/gui/widgets/emotepage.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-21 19:45:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-21 19:45:48 +0300
commit60b40c0c68e9cffbc5f48d4f672d99009488f8b1 (patch)
tree7d2efefb965c0ae928eb80313f2f37fa34cf42b4 /src/gui/widgets/emotepage.cpp
parent3ed0b5f6edce152fa2eca9c84d64cbeec8ac0173 (diff)
downloadmv-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.tar.gz
mv-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.tar.bz2
mv-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.tar.xz
mv-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.zip
Rename mouseEvent variables into event.
Diffstat (limited to 'src/gui/widgets/emotepage.cpp')
-rw-r--r--src/gui/widgets/emotepage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/emotepage.cpp b/src/gui/widgets/emotepage.cpp
index ebf504f54..c0fcb8ecf 100644
--- a/src/gui/widgets/emotepage.cpp
+++ b/src/gui/widgets/emotepage.cpp
@@ -116,10 +116,10 @@ void EmotePage::draw(Graphics *graphics)
BLOCK_END("EmotePage::draw")
}
-void EmotePage::mousePressed(MouseEvent &mouseEvent)
+void EmotePage::mousePressed(MouseEvent &event)
{
- mSelectedIndex = getIndexFromGrid(mouseEvent.getX(), mouseEvent.getY());
- mouseEvent.consume();
+ mSelectedIndex = getIndexFromGrid(event.getX(), event.getY());
+ event.consume();
distributeActionEvent();
}