diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-29 20:45:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-29 20:45:54 +0300 |
commit | 5b4160a49385bc6895681c5d103a4a5716829e4b (patch) | |
tree | 2b0119eef31a34b6345ce2b6f49ff8f0cfbca499 /src/gui/widgets | |
parent | 085abf777701c8bdb3091084fe851b125e787ae1 (diff) | |
download | mv-5b4160a49385bc6895681c5d103a4a5716829e4b.tar.gz mv-5b4160a49385bc6895681c5d103a4a5716829e4b.tar.bz2 mv-5b4160a49385bc6895681c5d103a4a5716829e4b.tar.xz mv-5b4160a49385bc6895681c5d103a4a5716829e4b.zip |
Simplify remove listener calls.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/avatarlistbox.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp index 822e71805..749837f7d 100644 --- a/src/gui/widgets/avatarlistbox.cpp +++ b/src/gui/widgets/avatarlistbox.cpp @@ -74,8 +74,7 @@ AvatarListBox::AvatarListBox(AvatarListModel *model): AvatarListBox::~AvatarListBox() { - config.removeListener("showgender", this); - config.removeListener("showlevel", this); + config.removeListeners(this); instances--; |