diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-08-27 22:37:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-10-17 10:48:30 +0800 |
commit | f4cc9ec2fad111cdb101f062a8ee63db71e57323 (patch) | |
tree | f2663a4de0b56f87d57d74ddc077a3edfa244961 /tdeioslave/media/mounthelper/dialog.cpp | |
parent | 1a089178fa6b7d19326a1b37d554f2e56c30f6f7 (diff) | |
download | tdebase-f4cc9ec2fad111cdb101f062a8ee63db71e57323.tar.gz tdebase-f4cc9ec2fad111cdb101f062a8ee63db71e57323.zip |
tdeioslave media: remove duplication of feedback for tdeio_media_helper
unlocking failures and leave password input dialog open in case of wrong password
supplied. This allows to quickly type in a new password instead of
having to repeat the complete procedure.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeioslave/media/mounthelper/dialog.cpp')
-rw-r--r-- | tdeioslave/media/mounthelper/dialog.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tdeioslave/media/mounthelper/dialog.cpp b/tdeioslave/media/mounthelper/dialog.cpp index ab1bb818d..d16c6d974 100644 --- a/tdeioslave/media/mounthelper/dialog.cpp +++ b/tdeioslave/media/mounthelper/dialog.cpp @@ -27,7 +27,6 @@ Dialog::Dialog(TQString url, TQString iconName) : { unlockDialog = new UnlockDialog(this); - unlockDialog->errorBox->hide(); unlockDialog->descLabel->setText(unlockDialog->descLabel->text().arg(url)); unlockDialog->descLabel->adjustSize(); unlockDialog->adjustSize(); @@ -52,14 +51,6 @@ TQString Dialog::getPassword() return unlockDialog->passwordEdit->text(); } -void Dialog::slotDialogError(TQString errorMsg) -{ - kdDebug() << __func__ << "(" << errorMsg << " )" << endl; - - unlockDialog->errorLabel->setText(TQString("<b>%1</b>").arg(errorMsg)); - unlockDialog->errorBox->show(); -} - void Dialog::slotPasswordChanged(const TQString &text) { enableButton( User1, !text.isEmpty() ); |