author | umopapisdn <umopapisdn> | 2003-03-24 07:45:52 (UTC) |
---|---|---|
committer | umopapisdn <umopapisdn> | 2003-03-24 07:45:52 (UTC) |
commit | 4a0041efd5cc7e08063c09b02858fcd9c2b59880 (patch) (side-by-side diff) | |
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() QObject::connect( this, SIGNAL(signalNotFound()), &frmFind, SLOT(slotNotFound()) ); QObject::connect( this, SIGNAL(signalWrapAround()), &frmFind, SLOT(slotWrapAround()) ); + frmFind.move(0,0); frmFind.exec(); inSearch = false; } bool catComp( QArray<int> cats, int category ) { bool returnMe; int i, |