summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyutils.cpp
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/mymoney/mymoneyutils.cpp
parent7b2485b7a44922b7a5ceec8159d22cd579f5d416 (diff)
downloadkmymoney-2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc.tar.gz
kmymoney-2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc.zip
Fix a number of crashes
Diffstat (limited to 'kmymoney2/mymoney/mymoneyutils.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneyutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/mymoney/mymoneyutils.cpp b/kmymoney2/mymoney/mymoneyutils.cpp
index 08ffff4..8012200 100644
--- a/kmymoney2/mymoney/mymoneyutils.cpp
+++ b/kmymoney2/mymoney/mymoneyutils.cpp
@@ -305,7 +305,7 @@ TQString dateToString(const TQDate& date)
if(!date.isNull() && date.isValid())
return date.toString(Qt::ISODate);
- return TQString();
+ return TQString::null;
}
TQDate stringToDate(const TQString& str)
@@ -323,7 +323,7 @@ TQString TQStringEmpty(const TQString& val)
if(!val.isEmpty())
return TQString(val);
- return TQString();
+ return TQString::null;
}
unsigned long extractId(const TQString& txt)