[kde-doc-english] [kmymoney] kmymoney/plugins/ofximport/dialogs: Show account name when requesting password for OFX

Thomas Baumgart thb at net-bembel.de
Wed Sep 16 16:48:24 UTC 2015


Git commit a5c78ace3e18c07c99cc807d16794d818d106cb8 by Thomas Baumgart.
Committed on 16/09/2015 at 16:45.
Pushed by tbaumgart into branch 'master'.

Show account name when requesting password for OFX

So far it was unclear which password was requested during an OFX update
of multiple accounts. We now display the account name along with the
request so the user knows which password to provide.

GUI:

M  +1    -1    kmymoney/plugins/ofximport/dialogs/mymoneyofxconnector.cpp

http://commits.kde.org/kmymoney/a5c78ace3e18c07c99cc807d16794d818d106cb8

diff --git a/kmymoney/plugins/ofximport/dialogs/mymoneyofxconnector.cpp b/kmymoney/plugins/ofximport/dialogs/mymoneyofxconnector.cpp
index 7884b7d..ffb0be6 100644
--- a/kmymoney/plugins/ofximport/dialogs/mymoneyofxconnector.cpp
+++ b/kmymoney/plugins/ofximport/dialogs/mymoneyofxconnector.cpp
@@ -220,7 +220,7 @@ QString MyMoneyOfxConnector::password() const
 
   if (pwd.isEmpty()) {
     QPointer<KPasswordDialog> dlg = new KPasswordDialog(0);
-    dlg->setPrompt(i18n("Enter your password"));
+    dlg->setPrompt(i18n("Enter your password for account <b>%1</b>").arg(m_account.name()));
     if (dlg->exec())
       pwd = dlg->password();
     delete dlg;


More information about the kde-doc-english mailing list