summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/contactlist/kopetegroupviewitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/kopete/contactlist/kopetegroupviewitem.cpp')
-rw-r--r--kopete/kopete/contactlist/kopetegroupviewitem.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/kopete/kopete/contactlist/kopetegroupviewitem.cpp b/kopete/kopete/contactlist/kopetegroupviewitem.cpp
index ab375540..b28b7cb3 100644
--- a/kopete/kopete/contactlist/kopetegroupviewitem.cpp
+++ b/kopete/kopete/contactlist/kopetegroupviewitem.cpp
@@ -174,8 +174,7 @@ void KopeteGroupViewItem::refreshDisplayName()
// Sorting in this slot is extremely expensive as it's called dozens of times and
// the sorting itself is rather slow. Therefore we call delayedSort, which tries
// to group multiple sort requests into one.
- using namespace Kopete::UI::ListView;
- if ( ListView::ListView *lv = dynamic_cast<ListView::ListView *>( listView() ) )
+ if ( Kopete::UI::ListView::ListView *lv = dynamic_cast<Kopete::UI::ListView::ListView *>( listView() ) )
lv->delayedSort();
else
listView()->sort();