summaryrefslogtreecommitdiff
path: root/src/gui/buddywindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/buddywindow.cpp')
-rw-r--r--src/gui/buddywindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/buddywindow.cpp b/src/gui/buddywindow.cpp
index f559d625..f587e020 100644
--- a/src/gui/buddywindow.cpp
+++ b/src/gui/buddywindow.cpp
@@ -34,7 +34,7 @@ BuddyWindow::BuddyWindow():
setContentSize(124, 202);
listbox = new gcn::ListBox();
- listbox->setListModel(dynamic_cast<ListModel*>(this));
+ listbox->setListModel(this);
scrollArea = new ScrollArea(listbox);
scrollArea->setDimension(gcn::Rectangle(