diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-14 01:10:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-14 01:10:51 -0600 |
commit | 2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc (patch) | |
tree | 673921e3e9310f55904ccd88962f74c401686758 /kmymoney2/mymoney/mymoneyutils.cpp | |
parent | 7b2485b7a44922b7a5ceec8159d22cd579f5d416 (diff) | |
download | kmymoney-2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc.tar.gz kmymoney-2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc.zip |
Fix a number of crashes
Diffstat (limited to 'kmymoney2/mymoney/mymoneyutils.cpp')
-rw-r--r-- | kmymoney2/mymoney/mymoneyutils.cpp | 4 |
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) |