summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guitable.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-01 20:50:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-01 20:50:14 +0300
commit54f1b48226c5aaa20926a93fbfdc8a54712e78f1 (patch)
treec592a47e254d817f79226be208828f8be431a039 /src/gui/widgets/guitable.cpp
parent2c62286a7ecf246e8a445dd7d00f618efae2a96a (diff)
downloadmanaplus-54f1b48226c5aaa20926a93fbfdc8a54712e78f1.tar.gz
manaplus-54f1b48226c5aaa20926a93fbfdc8a54712e78f1.tar.bz2
manaplus-54f1b48226c5aaa20926a93fbfdc8a54712e78f1.tar.xz
manaplus-54f1b48226c5aaa20926a93fbfdc8a54712e78f1.zip
In guitable rename conflicting mActionListeners into mActionListeners2.
Diffstat (limited to 'src/gui/widgets/guitable.cpp')
-rw-r--r--src/gui/widgets/guitable.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp
index 70ebb77d6..128281fe9 100644
--- a/src/gui/widgets/guitable.cpp
+++ b/src/gui/widgets/guitable.cpp
@@ -101,7 +101,7 @@ GuiTable::GuiTable(const Widget2 *const widget,
KeyListener(),
mModel(nullptr),
mTopWidget(nullptr),
- mActionListeners(),
+ mActionListeners2(),
mHighlightColor(getThemeColor(Theme::HIGHLIGHT)),
mSelectedRow(-1),
mSelectedColumn(-1),
@@ -266,8 +266,8 @@ void GuiTable::setSelectedColumn(const int selected)
void GuiTable::uninstallActionListeners()
{
- delete_all(mActionListeners);
- mActionListeners.clear();
+ delete_all(mActionListeners2);
+ mActionListeners2.clear();
}
void GuiTable::installActionListeners()
@@ -285,7 +285,7 @@ void GuiTable::installActionListeners()
Widget *const widget = mModel->getElementAt(row, column);
if (widget)
{
- mActionListeners.push_back(new GuiTableActionListener(
+ mActionListeners2.push_back(new GuiTableActionListener(
this, widget, row, column));
}
}