-rw-r--r-- | kaddressbook/views/contactlistview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kaddressbook/views/contactlistview.cpp b/kaddressbook/views/contactlistview.cpp index 09d9c03..9accf78 100644 --- a/kaddressbook/views/contactlistview.cpp +++ b/kaddressbook/views/contactlistview.cpp @@ -254,11 +254,11 @@ ContactListView::ContactListView(KAddressBookTableView *view, mABackground = true; mSingleLine = false; mToolTips = true; -#ifndef KAB_EMBEDDED + mAlternateColor = KGlobalSettings::alternateBackgroundColor(); -#else //KAB_EMBEDDED - mAlternateColor = QColor(240, 240, 240); -#endif //KAB_EMBEDDED + + + setAlternateBackgroundEnabled(mABackground); setAcceptDrops( true ); |