diff options
Diffstat (limited to 'kmymoney2/dialogs/kcategoryreassigndlg.cpp')
-rw-r--r-- | kmymoney2/dialogs/kcategoryreassigndlg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/dialogs/kcategoryreassigndlg.cpp b/kmymoney2/dialogs/kcategoryreassigndlg.cpp index 4de99f6..beb8e98 100644 --- a/kmymoney2/dialogs/kcategoryreassigndlg.cpp +++ b/kmymoney2/dialogs/kcategoryreassigndlg.cpp @@ -53,7 +53,7 @@ KCategoryReassignDlg::~KCategoryReassignDlg() TQString KCategoryReassignDlg::show(const MyMoneyAccount& category) { if (category.id().isEmpty()) - return TQString(); // no payee available? nothing can be selected... + return TQString::null; // no payee available? nothing can be selected... AccountSet set; set.addAccountGroup(MyMoneyAccount::Income); @@ -79,12 +79,12 @@ TQString KCategoryReassignDlg::show(const MyMoneyAccount& category) // if there is no category for reassignment left, we bail out if(list.isEmpty()) { KMessageBox::sorry(this, TQString("<qt>")+i18n("At least one transaction/schedule still references the category <b>%1</b>. However, at least one category with the same currency must exist so that the transactions/schedules can be reassigned.").arg(category.name())+TQString("</qt>")); - return TQString(); + return TQString::null; } // 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 m_category->selectedItem(); |