summaryrefslogtreecommitdiffstats
path: root/kmymoney2/plugins
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-14 01:10:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-14 01:10:51 -0600
commit2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc (patch)
tree673921e3e9310f55904ccd88962f74c401686758 /kmymoney2/plugins
parent7b2485b7a44922b7a5ceec8159d22cd579f5d416 (diff)
downloadkmymoney-2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc.tar.gz
kmymoney-2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc.zip
Fix a number of crashes
Diffstat (limited to 'kmymoney2/plugins')
-rw-r--r--kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp4
-rw-r--r--kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp b/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp
index 084d73c..ec2d4a0 100644
--- a/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp
+++ b/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp
@@ -98,14 +98,14 @@ const TQString& KOnlineBankingStatus::appId(void) const
{
if(m_appId)
return m_appId->appId();
- return TQString();
+ return TQString::null;
}
TQString KOnlineBankingStatus::headerVersion(void) const
{
if(m_headerVersion)
return m_headerVersion->headerVersion();
- return TQString();
+ return TQString::null;
}
#include "konlinebankingstatus.moc"
diff --git a/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp b/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp
index 36a05b5..7408a38 100644
--- a/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp
+++ b/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp
@@ -125,7 +125,7 @@ const TQString& OfxAppVersion::appId(void) const
TQString app = m_combo->currentText();
if(m_appMap[app] != defaultAppId)
return m_appMap[app];
- return TQString();
+ return TQString::null;
}
MyMoneyOfxConnector::MyMoneyOfxConnector(const MyMoneyAccount& _account):