author | umopapisdn <umopapisdn> | 2003-03-24 07:45:52 (UTC) |
---|---|---|
committer | umopapisdn <umopapisdn> | 2003-03-24 07:45:52 (UTC) |
commit | 4a0041efd5cc7e08063c09b02858fcd9c2b59880 (patch) (unidiff) | |
tree | 3948d60e0b94a2a821b4d87c0b1b985c5abdbff8 | |
parent | 0e1275a67cae2435c0ac8cee2252f91737c2e10a (diff) | |
download | opie-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.
-rw-r--r-- | core/pim/datebook/datebook.cpp | 1 |
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 | |||
@@ -903,16 +903,17 @@ void DateBook::slotFind() | |||
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 | ||
915 | bool catComp( QArray<int> cats, int category ) | 916 | bool catComp( QArray<int> cats, int category ) |
916 | { | 917 | { |
917 | bool returnMe; | 918 | bool returnMe; |
918 | int i, | 919 | int i, |