Ticket #1966: openmoko_addressbook_search.patch

File openmoko_addressbook_search.patch, 815 bytes (added by f.hackenberger@…, 5 years ago)

Reenables the search field for the addressbook

  • src/applications/addressbook/contactlistpane.cpp

    old new  
    7676    mLayout->addWidget(mListView); 
    7777 
    7878    // Don't show find bar for QThumbStyle 
    79     if (!style()->inherits("QThumbStyle")) { 
     79// For openmoko, we want the search bar anyway 
     80//    if (!style()->inherits("QThumbStyle")) { 
    8081#ifndef GREENPHONE_EFFECTS 
    8182        mTextProxy = new QTextEntryProxy(this, mListView); 
    8283#else 
     
    99100                this, SLOT(search(QString)) ); 
    100101 
    101102        QtopiaApplication::setInputMethodHint( mListView, QtopiaApplication::Text ); 
    102     } 
     103//    } 
    103104#ifdef GREENPHONE_EFFECTS 
    104105    mListView->setVisible(false); 
    105106    connect(mSmoothListView, SIGNAL(activated(QModelIndex)),