summaryrefslogtreecommitdiff
path: root/src/gui/widgets/avatarlistbox.cpp
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/gui/widgets/avatarlistbox.cpp
parent4431f40818f832e2cbae061927bdf59904cf5d3b (diff)
downloadplus-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.gz
plus-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.bz2
plus-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.xz
plus-5612fb3a7f20a9385ba786bb25d25081b86259dd.zip
Fix code style.
Diffstat (limited to 'src/gui/widgets/avatarlistbox.cpp')
-rw-r--r--src/gui/widgets/avatarlistbox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp
index 126e3f2b4..c81798e29 100644
--- a/src/gui/widgets/avatarlistbox.cpp
+++ b/src/gui/widgets/avatarlistbox.cpp
@@ -112,7 +112,7 @@ void AvatarListBox::draw(Graphics *const graphics)
if (!parent)
return;
- AvatarListModel *const model = static_cast<AvatarListModel *const>(
+ AvatarListModel *const model = static_cast<AvatarListModel *>(
mListModel);
updateAlpha();
@@ -357,7 +357,7 @@ void AvatarListBox::safeDraw(Graphics *const graphics)
if (!parent)
return;
- AvatarListModel *const model = static_cast<AvatarListModel *const>(
+ AvatarListModel *const model = static_cast<AvatarListModel *>(
mListModel);
updateAlpha();
@@ -598,7 +598,7 @@ void AvatarListBox::mousePressed(MouseEvent &event)
setSelected(y);
distributeActionEvent();
const int selected = getSelected();
- AvatarListModel *const model = static_cast<AvatarListModel *const>(
+ AvatarListModel *const model = static_cast<AvatarListModel *>(
mListModel);
if (!model)
return;