summaryrefslogtreecommitdiff
path: root/core
authorumopapisdn <umopapisdn>2003-03-24 07:45:52 (UTC)
committer umopapisdn <umopapisdn>2003-03-24 07:45:52 (UTC)
commit4a0041efd5cc7e08063c09b02858fcd9c2b59880 (patch) (unidiff)
tree3948d60e0b94a2a821b4d87c0b1b985c5abdbff8 /core
parent0e1275a67cae2435c0ac8cee2252f91737c2e10a (diff)
downloadopie-4a0041efd5cc7e08063c09b02858fcd9c2b59880.zip
opie-4a0041efd5cc7e08063c09b02858fcd9c2b59880.tar.gz
opie-4a0041efd5cc7e08063c09b02858fcd9c2b59880.tar.bz2
Bugfix: (bug #0000722) - Date-Popup in calendar-find dialog only appears shortly and then closes. This is due to the fact that the date-popup
appears on top of the button just pressed, and when the mouseup event fires, it is on the date-popup, so this fix just moves the find dialog to the topleft corner, which makes sure that the date-popup doesn't appear underneath the clicking position.
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/datebook.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/datebook/datebook.cpp b/core/pim/datebook/datebook.cpp
index db2058b..fa509d9 100644
--- a/core/pim/datebook/datebook.cpp
+++ b/core/pim/datebook/datebook.cpp
@@ -899,24 +899,25 @@ void DateBook::slotFind()
899 bool, bool, int)), 899 bool, bool, int)),
900 this, 900 this,
901 SLOT(slotDoFind(const QString&, const QDate&, 901 SLOT(slotDoFind(const QString&, const QDate&,
902 bool, bool, int)) ); 902 bool, bool, int)) );
903 QObject::connect( this, 903 QObject::connect( this,
904 SIGNAL(signalNotFound()), 904 SIGNAL(signalNotFound()),
905 &frmFind, 905 &frmFind,
906 SLOT(slotNotFound()) ); 906 SLOT(slotNotFound()) );
907 QObject::connect( this, 907 QObject::connect( this,
908 SIGNAL(signalWrapAround()), 908 SIGNAL(signalWrapAround()),
909 &frmFind, 909 &frmFind,
910 SLOT(slotWrapAround()) ); 910 SLOT(slotWrapAround()) );
911 frmFind.move(0,0);
911 frmFind.exec(); 912 frmFind.exec();
912 inSearch = false; 913 inSearch = false;
913} 914}
914 915
915bool catComp( QArray<int> cats, int category ) 916bool catComp( QArray<int> cats, int category )
916{ 917{
917 bool returnMe; 918 bool returnMe;
918 int i, 919 int i,
919 count; 920 count;
920 921
921 count = int(cats.count()); 922 count = int(cats.count());
922 returnMe = false; 923 returnMe = false;