aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/channelsjoin/channelsjoinwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/channelsjoin/channelsjoinwindow.cpp b/src/modules/channelsjoin/channelsjoinwindow.cpp
index 3ebfbbe10..0b5919c85 100644
--- a/src/modules/channelsjoin/channelsjoinwindow.cpp
+++ b/src/modules/channelsjoin/channelsjoinwindow.cpp
@@ -69,7 +69,7 @@ KviChannelsJoinWindow::KviChannelsJoinWindow(QWidget * par, const char * name)
m_pTreeWidget->setSelectionMode(QAbstractItemView::SingleSelection);
g->addWidget(m_pTreeWidget,0,0,1,2);
connect(m_pTreeWidget,SIGNAL(itemClicked(QTreeWidgetItem *,int)),this,SLOT(itemClicked(QTreeWidgetItem *,int)));
- connect(m_pTreeWidget,SIGNAL(itemActivated(QTreeWidgetItem *,int)),this,SLOT(itemDoubleClicked(QTreeWidgetItem *,int)));
+ connect(m_pTreeWidget,SIGNAL(itemDoubleClicked(QTreeWidgetItem *,int)),this,SLOT(itemDoubleClicked(QTreeWidgetItem *,int)));
m_pGroupBox = new KviTalGroupBox(Qt::Horizontal,__tr2qs("Channel" ),this);
@@ -241,7 +241,7 @@ void KviChannelsJoinWindow::itemClicked(QTreeWidgetItem * it, int)
{
if(!it)
return;
- if(!it->parent())
+ if(it->childCount())
return;
QString szTmp = it->text(0);
@@ -253,7 +253,7 @@ void KviChannelsJoinWindow::itemDoubleClicked(QTreeWidgetItem * it, int)
{
if(!it)
return;
- if(!it->parent())
+ if(it->childCount())
return;
QString szTmp = it->text(0);