-rw-r--r-- | core/pim/osearch/mainwindow.cpp | 7 | ||||
-rw-r--r-- | core/pim/osearch/olistview.cpp | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/core/pim/osearch/mainwindow.cpp b/core/pim/osearch/mainwindow.cpp index 33a24bc..093ca54 100644 --- a/core/pim/osearch/mainwindow.cpp +++ b/core/pim/osearch/mainwindow.cpp | |||
@@ -77,11 +77,11 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : | |||
77 | mainLayout->addWidget( detailsFrame ); | 77 | mainLayout->addWidget( detailsFrame ); |
78 | detailsFrame->hide(); | 78 | detailsFrame->hide(); |
79 | 79 | ||
80 | searches.append( new AdressSearch( resultsList, tr("adressbook") ) ); | ||
81 | searches.append( new TodoSearch( resultsList, tr("todo") ) ); | ||
82 | searches.append( new DatebookSearch( resultsList, tr("datebook") ) ); | ||
83 | searches.append( new AppLnkSearch( resultsList, tr("applications") ) ); | 80 | searches.append( new AppLnkSearch( resultsList, tr("applications") ) ); |
84 | searches.append( new DocLnkSearch( resultsList, tr("documents") ) ); | 81 | searches.append( new DocLnkSearch( resultsList, tr("documents") ) ); |
82 | searches.append( new TodoSearch( resultsList, tr("todo") ) ); | ||
83 | searches.append( new DatebookSearch( resultsList, tr("datebook") ) ); | ||
84 | searches.append( new AdressSearch( resultsList, tr("adressbook") ) ); | ||
85 | 85 | ||
86 | makeMenu(); | 86 | makeMenu(); |
87 | setCentralWidget( mainFrame ); | 87 | setCentralWidget( mainFrame ); |
@@ -124,6 +124,7 @@ void MainWindow::makeMenu() | |||
124 | 124 | ||
125 | addToolBar( searchBar, "Search", QMainWindow::Top, TRUE ); | 125 | addToolBar( searchBar, "Search", QMainWindow::Top, TRUE ); |
126 | QLineEdit *searchEdit = new QLineEdit( searchBar, "seachEdit" ); | 126 | QLineEdit *searchEdit = new QLineEdit( searchBar, "seachEdit" ); |
127 | searchEdit->setFocus(); | ||
127 | searchBar->setHorizontalStretchable( TRUE ); | 128 | searchBar->setHorizontalStretchable( TRUE ); |
128 | searchBar->setStretchableWidget( searchEdit ); | 129 | searchBar->setStretchableWidget( searchEdit ); |
129 | SearchAllAction->addTo( searchBar ); | 130 | SearchAllAction->addTo( searchBar ); |
diff --git a/core/pim/osearch/olistview.cpp b/core/pim/osearch/olistview.cpp index f5fe462..06392ba 100644 --- a/core/pim/osearch/olistview.cpp +++ b/core/pim/osearch/olistview.cpp | |||
@@ -19,7 +19,7 @@ OListView::OListView(QWidget *parent, const char *name ) | |||
19 | 19 | ||
20 | setRootIsDecorated( true ); | 20 | setRootIsDecorated( true ); |
21 | addColumn(tr("Results")); | 21 | addColumn(tr("Results")); |
22 | 22 | setSorting( -1 ); | |
23 | connect( this, SIGNAL(expanded(QListViewItem*)), SLOT(expand(QListViewItem*))); | 23 | connect( this, SIGNAL(expanded(QListViewItem*)), SLOT(expand(QListViewItem*))); |
24 | } | 24 | } |
25 | 25 | ||