[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    [Kde-pim] todo-DnD
From:       Guenter Schwann <schwann () icg ! tu-graz ! ac ! at>
Date:       2002-09-27 15:22:18
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Another "mega"-patch ;-)
This one stops the "drag" when the context-menu is used for an todo (right 
button).
Can I commit (this and the xdays-icon patch)?

ciao
- -- 
Guenter Schwann
Graz University of Technology - Computer Graphics and Vision
GPG-key: http://www.sbox.tugraz.at/home/v/vogel/gpg-schwann-public-key.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9lHeq43e2O3Z+/CQRAi1XAKCnYgyrDgpgI6p6nwx0dhBgKXgRRgCgmRyJ
IyfO+UkiYuMY7th1B2iC+44=
=5kfs
-----END PGP SIGNATURE-----

["korganizer36.patch" (text/x-diff)]

Index: kotodoview.cpp
===================================================================
RCS file: /home/kde/kdepim/korganizer/kotodoview.cpp,v
retrieving revision 1.96
diff -u -3 -p -b -r1.96 kotodoview.cpp
--- kotodoview.cpp	2002/09/17 20:50:25	1.96
+++ kotodoview.cpp	2002/09/27 14:46:42
@@ -177,8 +177,10 @@ void KOTodoListView::contentsMousePressE
         treeStepSize() * (i->depth() + (rootIsDecorated() ? 1 : 0)) +
         itemMargin() ||
         p.x() < header()->sectionPos(header()->mapToIndex(0))) {
+      if (e->button()==Qt::LeftButton) {
       mPressPos = e->pos();
       mMousePressed = true;
+      }
     }
   }
 }

_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic