summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/chatwindow.cpp3
-rw-r--r--src/gui/chatwindow.h2
-rw-r--r--src/gui/inventorywindow.cpp2
-rw-r--r--src/gui/inventorywindow.h2
-rw-r--r--src/gui/killstats.cpp2
-rw-r--r--src/gui/killstats.h2
-rw-r--r--src/gui/ministatuswindow.cpp2
-rw-r--r--src/gui/ministatuswindow.h2
-rw-r--r--src/gui/statuswindow.cpp2
-rw-r--r--src/gui/statuswindow.h2
10 files changed, 11 insertions, 10 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index f87d9c3bc..c9690cb86 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -917,7 +917,8 @@ void ChatWindow::keyPressed(gcn::KeyEvent &event)
addInputText(temp, false);
}
-void ChatWindow::processEvent(Channels channel, const DepricatedEvent &event)
+void ChatWindow::processEvent(const Channels channel,
+ const DepricatedEvent &event)
{
if (channel == CHANNEL_ATTRIBUTES)
{
diff --git a/src/gui/chatwindow.h b/src/gui/chatwindow.h
index 0bf195fc0..195c7cba0 100644
--- a/src/gui/chatwindow.h
+++ b/src/gui/chatwindow.h
@@ -194,7 +194,7 @@ class ChatWindow final : public Window,
*/
void mousePressed(gcn::MouseEvent &event) override;
- void processEvent(Channels channel,
+ void processEvent(const Channels channel,
const DepricatedEvent &event) override;
/**
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index ec26e1b9e..4129cc981 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -711,7 +711,7 @@ void InventoryWindow::close()
}
}
-void InventoryWindow::processEvent(Channels channel A_UNUSED,
+void InventoryWindow::processEvent(const Channels channel A_UNUSED,
const DepricatedEvent &event)
{
if (event.getName() == EVENT_UPDATEATTRIBUTE)
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h
index eec3ba855..7bd4ce466 100644
--- a/src/gui/inventorywindow.h
+++ b/src/gui/inventorywindow.h
@@ -133,7 +133,7 @@ class InventoryWindow final : public Window,
void updateDropButton();
- void processEvent(Channels channel,
+ void processEvent(const Channels channel,
const DepricatedEvent &event) override;
void updateButtons(const Item *item = nullptr);
diff --git a/src/gui/killstats.cpp b/src/gui/killstats.cpp
index a8c82ec40..a5e70a30d 100644
--- a/src/gui/killstats.cpp
+++ b/src/gui/killstats.cpp
@@ -484,7 +484,7 @@ void KillStats::validateJacko()
}
}
-void KillStats::processEvent(Channels channel A_UNUSED,
+void KillStats::processEvent(const Channels channel A_UNUSED,
const DepricatedEvent &event)
{
if (event.getName() == EVENT_UPDATEATTRIBUTE)
diff --git a/src/gui/killstats.h b/src/gui/killstats.h
index ea4d89582..a5b59affb 100644
--- a/src/gui/killstats.h
+++ b/src/gui/killstats.h
@@ -75,7 +75,7 @@ class KillStats final : public Window,
void jackoAlive(const int id);
- void processEvent(Channels channel A_UNUSED,
+ void processEvent(const Channels channel A_UNUSED,
const DepricatedEvent &event) override;
void resetTimes();
diff --git a/src/gui/ministatuswindow.cpp b/src/gui/ministatuswindow.cpp
index ba87b4984..1119d2519 100644
--- a/src/gui/ministatuswindow.cpp
+++ b/src/gui/ministatuswindow.cpp
@@ -223,7 +223,7 @@ void MiniStatusWindow::drawIcons(Graphics *const graphics)
}
}
-void MiniStatusWindow::processEvent(Channels channel A_UNUSED,
+void MiniStatusWindow::processEvent(const Channels channel A_UNUSED,
const DepricatedEvent &event)
{
if (event.getName() == EVENT_UPDATEATTRIBUTE)
diff --git a/src/gui/ministatuswindow.h b/src/gui/ministatuswindow.h
index 5c0b36a38..39d1e689d 100644
--- a/src/gui/ministatuswindow.h
+++ b/src/gui/ministatuswindow.h
@@ -61,7 +61,7 @@ class MiniStatusWindow final : public Popup,
void drawIcons(Graphics *const graphics);
- void processEvent(Channels channel,
+ void processEvent(const Channels channel,
const DepricatedEvent &event) override;
void updateStatus();
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp
index 3e265ffab..44b9fcd20 100644
--- a/src/gui/statuswindow.cpp
+++ b/src/gui/statuswindow.cpp
@@ -310,7 +310,7 @@ StatusWindow::StatusWindow() :
mLvlLabel->adjustSize();
}
-void StatusWindow::processEvent(Channels channel A_UNUSED,
+void StatusWindow::processEvent(const Channels channel A_UNUSED,
const DepricatedEvent &event)
{
static bool blocked = false;
diff --git a/src/gui/statuswindow.h b/src/gui/statuswindow.h
index d7d465d10..eebcd12ca 100644
--- a/src/gui/statuswindow.h
+++ b/src/gui/statuswindow.h
@@ -55,7 +55,7 @@ class StatusWindow final : public Window,
A_DELETE_COPY(StatusWindow)
- void processEvent(Channels channel,
+ void processEvent(const Channels channel,
const DepricatedEvent &event) override;
void setPointsNeeded(const int id, const int needed);