summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kpayeereassigndlg.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/dialogs/kpayeereassigndlg.cpp
parent7b2485b7a44922b7a5ceec8159d22cd579f5d416 (diff)
downloadkmymoney-2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc.tar.gz
kmymoney-2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc.zip
Fix a number of crashes
Diffstat (limited to 'kmymoney2/dialogs/kpayeereassigndlg.cpp')
-rw-r--r--kmymoney2/dialogs/kpayeereassigndlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/dialogs/kpayeereassigndlg.cpp b/kmymoney2/dialogs/kpayeereassigndlg.cpp
index 0c3c0cf..1db13f1 100644
--- a/kmymoney2/dialogs/kpayeereassigndlg.cpp
+++ b/kmymoney2/dialogs/kpayeereassigndlg.cpp
@@ -53,13 +53,13 @@ KPayeeReassignDlg::~KPayeeReassignDlg()
TQString KPayeeReassignDlg::show(const TQValueList<MyMoneyPayee>& payeeslist)
{
if (payeeslist.isEmpty())
- return TQString(); // no payee available? nothing can be selected...
+ return TQString::null; // no payee available? nothing can be selected...
payeeCombo->loadPayees(payeeslist);
// execute dialog and if aborted, return empty string
if (this->exec() == TQDialog::Rejected)
- return TQString();
+ return TQString::null;
// otherwise return index of selected payee
return payeeCombo->selectedItem();