summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
commit5612fb3a7f20a9385ba786bb25d25081b86259dd (patch)
treea7548d655f6f8d8298d94ce2f433dd287cde78bd /src/actions
parent4431f40818f832e2cbae061927bdf59904cf5d3b (diff)
downloadmanaverse-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.gz
manaverse-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.bz2
manaverse-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.xz
manaverse-5612fb3a7f20a9385ba786bb25d25081b86259dd.zip
Fix code style.
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