History: cleanup unused lookupPaymentID function

This commit is contained in:
selsta
2021-04-24 07:25:05 +02:00
parent bc1131ce41
commit 14b1476786
5 changed files with 0 additions and 24 deletions

View File

@@ -1696,16 +1696,6 @@ Rectangle {
+ translationManager.emptyString;
}
function lookupPaymentID(paymentId) {
if (!addressBookModel)
return ""
var idx = addressBookModel.lookupPaymentID(paymentId)
if (idx < 0)
return ""
idx = addressBookModel.index(idx, 0)
return addressBookModel.data(idx, AddressBookModel.AddressBookDescriptionRole)
}
FileDialog {
id: writeCSVFileDialog
title: qsTr("Please choose a folder") + translationManager.emptyString