FreeBSD Bugzilla – Attachment 194005 Details for
Bug 228752
finance/kmymoney patch-kmymoney_dialogs_transactioneditor.cpp breaks kmymoney
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Kmymoney crash fix
kmymoney.diff (text/plain), 2.68 KB, created by
Jason E. Hale
on 2018-06-04 22:27:21 UTC
(
hide
)
Description:
Kmymoney crash fix
Filename:
MIME Type:
Creator:
Jason E. Hale
Created:
2018-06-04 22:27:21 UTC
Size:
2.68 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 471724) >+++ Makefile (working copy) >@@ -2,6 +2,7 @@ > > PORTNAME= kmymoney > PORTVERSION= 5.0.1 >+PORTREVISION= 1 > CATEGORIES= finance kde > MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src > >Index: files/patch-kmymoney_dialogs_transactioneditor.cpp >=================================================================== >--- files/patch-kmymoney_dialogs_transactioneditor.cpp (revision 471724) >+++ files/patch-kmymoney_dialogs_transactioneditor.cpp (nonexistent) >@@ -1,13 +0,0 @@ >-Fix crash when adding a new schedule to scheduled transactions >- >---- kmymoney/dialogs/transactioneditor.cpp.orig 2018-04-17 02:57:53 UTC >-+++ kmymoney/dialogs/transactioneditor.cpp >-@@ -178,7 +178,7 @@ void TransactionEditor::setup(QWidgetList& tabOrderWid >- >- // remove all unused widgets and don't forget to remove them >- // from the tab order list as well >-- d->m_editWidgets.removeOrphans(); >-+ // d->m_editWidgets.removeOrphans(); >- QWidgetList::iterator it_w; >- const QWidgetList editWidgets(d->m_editWidgets.values()); >- for (it_w = tabOrderWidgets.begin(); it_w != tabOrderWidgets.end();) { > >Property changes on: files/patch-kmymoney_dialogs_transactioneditor.cpp >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-kmymoney_widgets_qwidgetcontainer.cpp >=================================================================== >--- files/patch-kmymoney_widgets_qwidgetcontainer.cpp (nonexistent) >+++ files/patch-kmymoney_widgets_qwidgetcontainer.cpp (working copy) >@@ -0,0 +1,19 @@ >+Fix crash when editing transactions >+https://bugs.kde.org/show_bug.cgi?id=392735 >+ >+--- kmymoney/widgets/qwidgetcontainer.cpp.orig 2018-03-18 15:55:30 UTC >++++ kmymoney/widgets/qwidgetcontainer.cpp >+@@ -51,9 +51,10 @@ void QWidgetContainer::removeOrphans() >+ if ((*it_w) && (*it_w)->parent()) >+ ++it_w; >+ else { >+- delete(*it_w); >+- remove(it_w.key()); >+- it_w = begin(); >++ QWidget* const w = *it_w; >++ it_w = erase(it_w); >++ if (w) >++ w->deleteLater(); >+ } >+ } >+ } > >Property changes on: files/patch-kmymoney_widgets_qwidgetcontainer.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228752
: 194005