public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-office/kmymoney/files: kmymoney-4.6.0-gnucash.patch
@ 2011-10-21 22:45 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas HAttel (dilfridge) @ 2011-10-21 22:45 UTC (permalink / raw
  To: gentoo-commits

dilfridge    11/10/21 22:45:39

  Added:                kmymoney-4.6.0-gnucash.patch
  Log:
  Fix gnucash import, bug 384871
  
  (Portage version: 2.1.10.29/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-office/kmymoney/files/kmymoney-4.6.0-gnucash.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/kmymoney/files/kmymoney-4.6.0-gnucash.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/kmymoney/files/kmymoney-4.6.0-gnucash.patch?rev=1.1&content-type=text/plain

Index: kmymoney-4.6.0-gnucash.patch
===================================================================
diff -ruN kmymoney-4.6.0.orig/kmymoney/converter/mymoneygncreader.cpp kmymoney-4.6.0/kmymoney/converter/mymoneygncreader.cpp
--- kmymoney-4.6.0.orig/kmymoney/converter/mymoneygncreader.cpp	2011-08-09 07:48:04.000000000 +0200
+++ kmymoney-4.6.0/kmymoney/converter/mymoneygncreader.cpp	2011-10-22 00:40:05.731618915 +0200
@@ -1267,6 +1267,7 @@
   if (bAnonymize) setFileHideFactor();
   //m_defaultPayee = createPayee (i18n("Unknown payee"));
 
+  MyMoneyFile::instance()->attachStorage(m_storage);
   MyMoneyFileTransaction ft;
   m_xr = new XmlReader(this);
   try {
@@ -1277,6 +1278,7 @@
     KMessageBox::error(0, i18n("Import failed:\n\n%1", e->what()), PACKAGE);
     qWarning("%s", qPrintable(e->what()));
   } // end catch
+  MyMoneyFile::instance()->detachStorage(m_storage);
   signalProgress(0, 1, i18n("Import complete"));  // switch off progress bar
   delete m_xr;
   qDebug("Exiting gnucash importer");






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-office/kmymoney/files: kmymoney-4.6.0-gnucash.patch
@ 2012-03-08  2:45 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas HAttel (dilfridge) @ 2012-03-08  2:45 UTC (permalink / raw
  To: gentoo-commits

dilfridge    12/03/08 02:45:11

  Removed:              kmymoney-4.6.0-gnucash.patch
  Log:
  Version bump; remove old
  
  (Portage version: 2.1.10.49/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-08  2:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-21 22:45 [gentoo-commits] gentoo-x86 commit in app-office/kmymoney/files: kmymoney-4.6.0-gnucash.patch Andreas HAttel (dilfridge)
  -- strict thread matches above, loose matches on Subject: below --
2012-03-08  2:45 Andreas HAttel (dilfridge)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox