summaryrefslogtreecommitdiffstats
path: root/src/bondwizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bondwizard.cpp')
-rw-r--r--src/bondwizard.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bondwizard.cpp b/src/bondwizard.cpp
index 03ca5a6..d9a36c2 100644
--- a/src/bondwizard.cpp
+++ b/src/bondwizard.cpp
@@ -188,12 +188,12 @@ void BondWizard::closeEvent(TQCloseEvent* e){
/** maybe call a dialog that the wizard has finished. */
void BondWizard::accept(){
// Try to bond
- if (m_ldapConfig->bondRealm(m_finalRealm, finishpage->ldapAdminUsername->text(), finishpage->ldapAdminPassword->password(), finishpage->ldapAdminRealm->text()) == 0) {
+ TQString errorString;
+ if (m_ldapConfig->bondRealm(m_finalRealm, finishpage->ldapAdminUsername->text(), finishpage->ldapAdminPassword->password(), finishpage->ldapAdminRealm->text(), &errorString) == 0) {
done(0);
}
else {
- KMessageBox::error(this, i18n("<qt><b>Unable to bond to realm!</b><p>RAJA ERRORSTR</qt>"), i18n("Unable to Bond to Realm"));
- // RAJA FIXME
+ KMessageBox::error(this, i18n("<qt><b>Unable to bond to realm!</b><p>Details: %1</qt>").arg(errorString), i18n("Unable to Bond to Realm"));
}
}