summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp4
-rw-r--r--src/actions/commands.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 338a749b0..c98b2a429 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1270,9 +1270,9 @@ static void showRes(std::string str, ResourceManager::Resources *res)
else
iter->second->setDumped(true);
- SubImage *const subImage = dynamic_cast<SubImage *const>(
+ SubImage *const subImage = dynamic_cast<SubImage *>(
iter->second);
- Image *const image = dynamic_cast<Image *const>(iter->second);
+ Image *const image = dynamic_cast<Image *>(iter->second);
int id = 0;
if (subImage)
type = 'S';
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 53c1f4fd0..bb7e37d87 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -91,7 +91,7 @@ static std::string getNick(const InputEvent &event)
if (!event.tab || event.tab->getType() != ChatTabType::WHISPER)
return std::string();
- WhisperTab *const whisper = static_cast<WhisperTab* const>(event.tab);
+ WhisperTab *const whisper = static_cast<WhisperTab *>(event.tab);
if (whisper->getNick().empty())
{
// TRANSLATORS: change relation