diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-12-01 23:39:45 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-12-01 23:39:45 +0900 |
commit | 53fe3bf43aeb43f51f6b6ebb7453938e85c0223b (patch) | |
tree | d63838d4442041515669c84a02700bbca9f1aa77 /kopete/libkopete | |
parent | ca937b0c3ebc76d1a079e5d4b22022c4ccb29889 (diff) | |
download | tdenetwork-53fe3bf43aeb43f51f6b6ebb7453938e85c0223b.tar.gz tdenetwork-53fe3bf43aeb43f51f6b6ebb7453938e85c0223b.zip |
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kopete/libkopete')
-rw-r--r-- | kopete/libkopete/kopetepassword.cpp | 2 | ||||
-rw-r--r-- | kopete/libkopete/ui/kopetepasswordwidget.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kopete/libkopete/kopetepassword.cpp b/kopete/libkopete/kopetepassword.cpp index 5fd729a7..c4d2b439 100644 --- a/kopete/libkopete/kopetepassword.cpp +++ b/kopete/libkopete/kopetepassword.cpp @@ -206,7 +206,7 @@ public: void slotOkPressed() { - TQString result = TQString::fromLocal8Bit( mView->m_password->password() ); + TQString result = mView->m_password->password(); if ( mView->m_save_passwd->isChecked() ) mPassword.set( result ); diff --git a/kopete/libkopete/ui/kopetepasswordwidget.cpp b/kopete/libkopete/ui/kopetepasswordwidget.cpp index 23a48d00..fe1f29a0 100644 --- a/kopete/libkopete/ui/kopetepasswordwidget.cpp +++ b/kopete/libkopete/ui/kopetepasswordwidget.cpp @@ -108,7 +108,7 @@ bool Kopete::UI::PasswordWidget::validate() TQString Kopete::UI::PasswordWidget::password() const { - return TQString::fromLocal8Bit( mPassword->password() ); + return mPassword->password(); } bool Kopete::UI::PasswordWidget::remember() const |