summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-10-28 00:13:27 (UTC)
committer ulf69 <ulf69>2004-10-28 00:13:27 (UTC)
commit0b7fefe9f97ced1e4b2d93d26e12385aadb7b7e9 (patch) (unidiff)
treee46a98f6d1ac10b2a8378ef9d1dd77fb0d82fed1
parent0766b449ccdcc125c18c401d87cc51c277464728 (diff)
downloadkdepimpi-0b7fefe9f97ced1e4b2d93d26e12385aadb7b7e9.zip
kdepimpi-0b7fefe9f97ced1e4b2d93d26e12385aadb7b7e9.tar.gz
kdepimpi-0b7fefe9f97ced1e4b2d93d26e12385aadb7b7e9.tar.bz2
bugfix: pass singleclick parameter to the tableview
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/views/kaddressbooktableview.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/kaddressbook/views/kaddressbooktableview.cpp b/kaddressbook/views/kaddressbooktableview.cpp
index e40eb9e..6f20e05 100644
--- a/kaddressbook/views/kaddressbooktableview.cpp
+++ b/kaddressbook/views/kaddressbooktableview.cpp
@@ -90,2 +90,5 @@ void KAddressBookTableView::reconstructListView()
90 mListView = new ContactListView( this, addressBook(), viewWidget() ); 90 mListView = new ContactListView( this, addressBook(), viewWidget() );
91
92 //US set singleClick manually, because it is no global configparameter in embedded space
93 mListView->setSingleClick(KABPrefs::instance()->mHonorSingleClick);
91 94
@@ -110,8 +113,11 @@ void KAddressBookTableView::reconstructListView()
110 113
111 if (KABPrefs::instance()->mHonorSingleClick) 114 if (KABPrefs::instance()->mHonorSingleClick) {
115 // qDebug("KAddressBookTableView::reconstructListView single");
112 connect(mListView, SIGNAL(executed(QListViewItem*)), 116 connect(mListView, SIGNAL(executed(QListViewItem*)),
113 this, SLOT(addresseeExecuted(QListViewItem*))); 117 this, SLOT(addresseeExecuted(QListViewItem*)));
114 else 118 } else {
119 // qDebug("KAddressBookTableView::reconstructListView double");
115 connect(mListView, SIGNAL(doubleClicked(QListViewItem*)), 120 connect(mListView, SIGNAL(doubleClicked(QListViewItem*)),
116 this, SLOT(addresseeExecuted(QListViewItem*))); 121 this, SLOT(addresseeExecuted(QListViewItem*)));
122 }
117 connect(mListView, SIGNAL(returnPressed(QListViewItem*)), 123 connect(mListView, SIGNAL(returnPressed(QListViewItem*)),