View | Details | Raw Unified | Return to bug 164234
Collapse All | Expand All

(-)kmymoney-kde4/Makefile (+1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	kmymoney
8
PORTNAME=	kmymoney
9
PORTVERSION=	4.6.1
9
PORTVERSION=	4.6.1
10
PORTREVISION=	1
10
CATEGORIES=	finance kde
11
CATEGORIES=	finance kde
11
MASTER_SITES=	SF/${PORTNAME}2/KMyMoney-KDE4/${PORTVERSION}
12
MASTER_SITES=	SF/${PORTNAME}2/KMyMoney-KDE4/${PORTVERSION}
12
13
(-)kmymoney-kde4/files/patch-kmymoney__converter__mymoneygncreader.cpp (+32 lines)
Line 0 Link Here
1
--- ./kmymoney/converter/mymoneygncreader.cpp.orig	2011-11-05 05:20:14.000000000 -0400
2
+++ ./kmymoney/converter/mymoneygncreader.cpp	2012-01-17 04:21:49.000000000 -0500
3
@@ -1256,7 +1256,6 @@
4
 #ifndef _GNCFILEANON
5
 void MyMoneyGncReader::readFile(QIODevice* pDevice, IMyMoneySerialize* storage)
6
 {
7
-
8
   Q_CHECK_PTR(pDevice);
9
   Q_CHECK_PTR(storage);
10
 
11
@@ -1270,6 +1269,8 @@
12
   MyMoneyFile::instance()->attachStorage(m_storage);
13
   MyMoneyFileTransaction ft;
14
   m_xr = new XmlReader(this);
15
+  bool blocked = MyMoneyFile::instance()->signalsBlocked();
16
+  MyMoneyFile::instance()->blockSignals(true);
17
   try {
18
     m_xr->processFile(pDevice);
19
     terminate();  // do all the wind-up things
20
@@ -1278,11 +1279,11 @@
21
     KMessageBox::error(0, i18n("Import failed:\n\n%1", e->what()), PACKAGE);
22
     qWarning("%s", qPrintable(e->what()));
23
   } // end catch
24
+  MyMoneyFile::instance()->blockSignals(blocked);
25
   MyMoneyFile::instance()->detachStorage(m_storage);
26
   signalProgress(0, 1, i18n("Import complete"));  // switch off progress bar
27
   delete m_xr;
28
   qDebug("Exiting gnucash importer");
29
-  return;
30
 }
31
 #else
32
 // Control code for the file anonymizer

Return to bug 164234