Fix signal/slot

svn path=/trunk/KDE/kdebase/konqueror/; revision=633520
This commit is contained in:
Laurent Montel 2007-02-14 07:47:34 +00:00
parent 47a833b7b0
commit 34d4b4f382

View file

@ -53,8 +53,8 @@ KServiceSelectDlg::KServiceSelectDlg( const QString& /*serviceType*/, const QStr
m_listbox->model()->sort(0);
m_listbox->setMinimumHeight(350);
m_listbox->setMinimumWidth(300);
connect(m_listbox,SIGNAL(doubleClicked ( QListWidgetItem * )),SLOT(slotOk()));
connect( this, SIGNAL( okClicked() ), this, SLOT( slotOk() ) );
connect(m_listbox,SIGNAL(itemDoubleClicked(QListWidgetItem*)),SLOT(slotOk()));
connect( this, SIGNAL(okClicked()), this, SLOT(slotOk()) );
setMainWidget(vbox);
}