summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-06-24 15:47:50 (UTC)
committer zautrix <zautrix>2005-06-24 15:47:50 (UTC)
commit3dbc82b2711811450b77b85a5fd85744a61d0a2c (patch) (unidiff)
tree5de54644cd84669544168ed3f56dec0c546d3be3
parente5ddfdabaf6f0e72caa0215c8896e104c7d74cc3 (diff)
downloadkdepimpi-3dbc82b2711811450b77b85a5fd85744a61d0a2c.zip
kdepimpi-3dbc82b2711811450b77b85a5fd85744a61d0a2c.tar.gz
kdepimpi-3dbc82b2711811450b77b85a5fd85744a61d0a2c.tar.bz2
fixxx
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/WhatsNew.txt4
-rw-r--r--kabc/addresseedialog.cpp15
-rw-r--r--korganizer/searchdialog.cpp8
3 files changed, 20 insertions, 7 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt
index c4557ef..2aac9ff 100644
--- a/bin/kdepim/WhatsNew.txt
+++ b/bin/kdepim/WhatsNew.txt
@@ -2,2 +2,6 @@ Info about the changes in new versions of KDE-Pim/Pi
2 2
3********** VERSION 2.1.9 ************
4
5KO/Pi:
6Fixed some problems of the new search options in the search dialog.
3 7
diff --git a/kabc/addresseedialog.cpp b/kabc/addresseedialog.cpp
index 3e7b72c..9197850 100644
--- a/kabc/addresseedialog.cpp
+++ b/kabc/addresseedialog.cpp
@@ -77,3 +77,3 @@ AddresseeDialog::AddresseeDialog( QWidget *parent, bool multiple ) :
77 77
78 QBoxLayout *listLayout = new QVBoxLayout (listWidget) ; 78 QVBoxLayout *listLayout = new QVBoxLayout (listWidget) ;
79 //topLayout->addLayout( listLayout ); 79 //topLayout->addLayout( listLayout );
@@ -90,4 +90,4 @@ AddresseeDialog::AddresseeDialog( QWidget *parent, bool multiple ) :
90 90
91 QHBox* searchBox = new QHBox ( listWidget ); 91 //QHBox* searchBox = new QHBox ( listWidget );
92 mAddresseeEdit = new QLineEdit( searchBox ); 92 mAddresseeEdit = new QLineEdit( listWidget );
93 connect( mAddresseeEdit, SIGNAL( returnPressed() ), 93 connect( mAddresseeEdit, SIGNAL( returnPressed() ),
@@ -95,6 +95,9 @@ AddresseeDialog::AddresseeDialog( QWidget *parent, bool multiple ) :
95 mAddresseeEdit->setFocus(); 95 mAddresseeEdit->setFocus();
96 QPushButton *searchButton = new QPushButton( i18n("Search!"), searchBox ); 96 QPushButton *searchButton = new QPushButton( i18n("Search!"), listWidget );
97 connect ( searchButton, SIGNAL( clicked() ), SLOT( loadAddressBook() ) ); 97 connect ( searchButton, SIGNAL( clicked() ), SLOT( loadAddressBook() ) );
98 98
99 listLayout->addWidget( searchBox ); 99 QHBoxLayout *searchLayout = new QHBoxLayout (listLayout) ;
100 searchLayout->addWidget( mAddresseeEdit );
101 searchLayout->addWidget( searchButton );
102 //listLayout->addWidget( searchBox );
100 103
@@ -105,3 +108,3 @@ AddresseeDialog::AddresseeDialog( QWidget *parent, bool multiple ) :
105 108
106 QVBox *selectedGroup = new QVBox( mMiniSplitter ); 109 QVBox *selectedGroup = new QVBox( mMiniSplitter );
107 new QLabel ( i18n("Selected:"), selectedGroup ); 110 new QLabel ( i18n("Selected:"), selectedGroup );
diff --git a/korganizer/searchdialog.cpp b/korganizer/searchdialog.cpp
index a8de297..0713980 100644
--- a/korganizer/searchdialog.cpp
+++ b/korganizer/searchdialog.cpp
@@ -563,3 +563,9 @@ void SearchDialog::search(const QRegExp &re)
563 } 563 }
564 564 if ( mMatchedEvents.count() + mMatchedJournals.count() + mMatchedTodos.count() < 1 ) {
565 qDebug("count %d ", mMatchedEvents.count() + mMatchedJournals.count() + mMatchedTodos.count() );
566 if ( mRefineItems->isChecked() )
567 mRefineItems->setChecked( false );
568 else if ( mSubItems->isChecked() )
569 mSubItems->setChecked( false );
570 }
565} 571}