Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 6 years ago
parent de88d505a9
commit f0dd111676
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -542,7 +542,7 @@ DaapClient::passwordPrompt()
PasswordDialog dialog( 0 );
if( dialog.exec() == TQDialog::Accepted )
{
Daap::Reader* reader = new Daap::Reader( callback->host(), callback->port(), root, TQString( dialog.m_input->password() ), this, callback->name() );
Daap::Reader* reader = new Daap::Reader( callback->host(), callback->port(), root, dialog.m_input->password(), this, callback->name() );
root->setReader( reader );
connect( reader, TQT_SIGNAL( daapBundles( const TQString&, Daap::SongList ) ),
this, TQT_SLOT( createTree( const TQString&, Daap::SongList ) ) );

Loading…
Cancel
Save