summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.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/tabbedarea.cpp
parent3ed0b5f6edce152fa2eca9c84d64cbeec8ac0173 (diff)
downloadmanaverse-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.tar.gz
manaverse-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.tar.bz2
manaverse-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.tar.xz
manaverse-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.zip
Rename mouseEvent variables into event.
Diffstat (limited to 'src/gui/widgets/tabbedarea.cpp')
-rw-r--r--src/gui/widgets/tabbedarea.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp
index 554bdfc66..410112c55 100644
--- a/src/gui/widgets/tabbedarea.cpp
+++ b/src/gui/widgets/tabbedarea.cpp
@@ -366,20 +366,20 @@ void TabbedArea::logic()
BLOCK_END("TabbedArea::logic")
}
-void TabbedArea::mousePressed(MouseEvent &mouseEvent)
+void TabbedArea::mousePressed(MouseEvent &event)
{
- if (mouseEvent.isConsumed())
+ if (event.isConsumed())
return;
- if (mouseEvent.getButton() == MouseEvent::LEFT)
+ if (event.getButton() == MouseEvent::LEFT)
{
Widget *const widget = mTabContainer->getWidgetAt(
- mouseEvent.getX(), mouseEvent.getY());
+ event.getX(), event.getY());
Tab *const tab = dynamic_cast<Tab *const>(widget);
if (tab)
{
- mouseEvent.consume();
+ event.consume();
setSelectedTab(tab);
requestFocus();
}