summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2011-11-27 11:11:34 +0100
committerFrancois Andriot <francois.andriot@free.fr>2011-11-27 11:11:34 +0100
commitce7695882bd26fe4590c671f21e3dbe3f93293db (patch)
treeedc0e7995798e5fb7ab881d41e783d9728979903 /redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch
parente3e089f270bf52f03b63c663b9c9f39976f3b2e8 (diff)
downloadtde-packaging-ce7695882bd26fe4590c671f21e3dbe3f93293db.tar.gz
tde-packaging-ce7695882bd26fe4590c671f21e3dbe3f93293db.zip
RHEL/Fedora:: add kmymoney (does not work)
Diffstat (limited to 'redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch')
-rw-r--r--redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch b/redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch
new file mode 100644
index 000000000..93cc35bf6
--- /dev/null
+++ b/redhat/applications/kmymoney/kmymoney-3.5.13-default_money_crash.patch
@@ -0,0 +1,12 @@
+--- ./kmymoney2/mymoney/mymoneyfile.cpp.ORI 2011-11-26 18:31:18.266423206 +0100
++++ ./kmymoney2/mymoney/mymoneyfile.cpp 2011-11-26 18:31:26.417214675 +0100
+@@ -1940,7 +1940,8 @@
+
+ const MyMoneySecurity& curr = d->m_cache.security(id);
+ if(curr.id().isEmpty())
+- throw new MYMONEYEXCEPTION("Currency not found.");
++ return baseCurrency();
++// throw new MYMONEYEXCEPTION("Currency not found.");
+ return curr;
+ }
+