diff options
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/channelsjoin/ChannelsJoinDialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/channelsjoin/ChannelsJoinDialog.cpp b/src/modules/channelsjoin/ChannelsJoinDialog.cpp index 4e9586523..35a51ff14 100644 --- a/src/modules/channelsjoin/ChannelsJoinDialog.cpp +++ b/src/modules/channelsjoin/ChannelsJoinDialog.cpp @@ -181,6 +181,8 @@ void ChannelsJoinDialog::fillListView() } } + par->sortChildren(0, Qt::AscendingOrder); + par = new QTreeWidgetItem(m_pTreeWidget, HeaderItem); par->setText(0,__tr2qs("Recent Channels")); par->setExpanded(true); @@ -208,6 +210,7 @@ void ChannelsJoinDialog::fillListView() chld->setText(0,*it); chld->setIcon(0,*(g_pIconManager->getSmallIcon(KviIconManager::Channel))); } + par->sortChildren(0, Qt::AscendingOrder); } } } @@ -237,6 +240,7 @@ void ChannelsJoinDialog::fillListView() chld->setIcon(0,*(g_pIconManager->getSmallIcon(KviIconManager::Channel))); } } + par->sortChildren(0, Qt::AscendingOrder); } void ChannelsJoinDialogTreeWidget::mousePressEvent(QMouseEvent *e) |
