author | tille <tille> | 2003-05-14 16:20:11 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-14 16:20:11 (UTC) |
commit | 6bc6d8eb1051335e99416f5a8311788b40c7476a (patch) (side-by-side diff) | |
tree | 39b9afa01f5f3061617a494c526ca8b8a2610388 /core/pim/osearch/mainwindow.cpp | |
parent | b818d340ce6a9ffe00136f2278192f46c1163ba1 (diff) | |
download | opie-6bc6d8eb1051335e99416f5a8311788b40c7476a.zip opie-6bc6d8eb1051335e99416f5a8311788b40c7476a.tar.gz opie-6bc6d8eb1051335e99416f5a8311788b40c7476a.tar.bz2 |
correct focus and search group order
zecke: take this version for OPIE_BRANCH_0_99
Diffstat (limited to 'core/pim/osearch/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/osearch/mainwindow.cpp | 7 |
1 files changed, 4 insertions, 3 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 ) : mainLayout->addWidget( detailsFrame ); detailsFrame->hide(); - searches.append( new AdressSearch( resultsList, tr("adressbook") ) ); - searches.append( new TodoSearch( resultsList, tr("todo") ) ); - searches.append( new DatebookSearch( resultsList, tr("datebook") ) ); searches.append( new AppLnkSearch( resultsList, tr("applications") ) ); searches.append( new DocLnkSearch( resultsList, tr("documents") ) ); + searches.append( new TodoSearch( resultsList, tr("todo") ) ); + searches.append( new DatebookSearch( resultsList, tr("datebook") ) ); + searches.append( new AdressSearch( resultsList, tr("adressbook") ) ); makeMenu(); setCentralWidget( mainFrame ); @@ -124,6 +124,7 @@ void MainWindow::makeMenu() addToolBar( searchBar, "Search", QMainWindow::Top, TRUE ); QLineEdit *searchEdit = new QLineEdit( searchBar, "seachEdit" ); + searchEdit->setFocus(); searchBar->setHorizontalStretchable( TRUE ); searchBar->setStretchableWidget( searchEdit ); SearchAllAction->addTo( searchBar ); |