[73470] trunk/dports/kde/kmymoney4

mk at macports.org mk at macports.org
Sun Nov 14 11:40:35 PST 2010


Revision: 73470
          http://trac.macports.org/changeset/73470
Author:   mk at macports.org
Date:     2010-11-14 11:40:31 -0800 (Sun, 14 Nov 2010)
Log Message:
-----------
kmymoney4: patch to avoid crash when trying to edit transaction date in ledger view

Modified Paths:
--------------
    trunk/dports/kde/kmymoney4/Portfile

Added Paths:
-----------
    trunk/dports/kde/kmymoney4/files/patch-kMyMoneyDateInput_eventFilter.diff

Modified: trunk/dports/kde/kmymoney4/Portfile
===================================================================
--- trunk/dports/kde/kmymoney4/Portfile	2010-11-14 18:49:57 UTC (rev 73469)
+++ trunk/dports/kde/kmymoney4/Portfile	2010-11-14 19:40:31 UTC (rev 73470)
@@ -8,6 +8,7 @@
 
 name                kmymoney4
 version             4.5.1
+revision            1
 
 categories          kde finance
 maintainers         mk pixilla.com:brad openmaintainer
@@ -31,7 +32,6 @@
                     rmd160  c8861183280608233528a1ec98960d4f82a6ac3f
 
 depends_lib-append  port:libofx \
-                    port:gwenhywfar4 \
                     port:aqbanking5 \
                     port:kdepimlibs4 \
                     port:oxygen-icons
@@ -54,7 +54,9 @@
 "
 }
 
+#patchfiles        patch_for_kbanking.diff
 #patchfiles        patch_to_r1197025.diff
+patchfiles        patch-kMyMoneyDateInput_eventFilter.diff
 
 patch.dir         ${workpath}/${distname}
 patch.pre_args    -p1

Added: trunk/dports/kde/kmymoney4/files/patch-kMyMoneyDateInput_eventFilter.diff
===================================================================
--- trunk/dports/kde/kmymoney4/files/patch-kMyMoneyDateInput_eventFilter.diff	                        (rev 0)
+++ trunk/dports/kde/kmymoney4/files/patch-kMyMoneyDateInput_eventFilter.diff	2010-11-14 19:40:31 UTC (rev 73470)
@@ -0,0 +1,15 @@
+--- kmymoney-4.5.1/kmymoney/widgets/kmymoneydateinput.cpp.orig	2010-11-14 20:04:21.000000000 +0100
++++ kmymoney-4.5.1/kmymoney/widgets/kmymoneydateinput.cpp	2010-11-14 20:05:54.000000000 +0100
+@@ -302,10 +302,10 @@
+ bool kMyMoneyDateInput::eventFilter(QObject *, QEvent *e)
+ {
+   if (e->type() == QEvent::FocusIn) {
+-    d->m_datePopup->show(mapToGlobal(QPoint(0, height())));
++;//    d->m_datePopup->show(mapToGlobal(QPoint(0, height())));
+     // select the date section, but we need to delay it a bit
+   } else if (e->type() == QEvent::FocusOut)
+-    d->m_datePopup->hide();
++;//    d->m_datePopup->hide();
+   else if (e->type() == QEvent::KeyPress) {
+     if (QKeyEvent *k = dynamic_cast<QKeyEvent*>(e)) {
+       keyPressEvent(k);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101114/adc24f59/attachment.html>


More information about the macports-changes mailing list