"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/services/lastfm/LastFmServiceConfig.cpp" between
amarok-2.8.90.tar.gz and amarok-2.9.0.tar.xz

About: Amarok is a powerful music player for Linux and Unix, MacOS X and Windows with an intuitive interface.

LastFmServiceConfig.cpp  (amarok-2.8.90):LastFmServiceConfig.cpp  (amarok-2.9.0.tar.xz)
skipping to change at line 131 skipping to change at line 131
config.writeEntry( "kWalletUsage", int( m_kWalletUsage ) ); config.writeEntry( "kWalletUsage", int( m_kWalletUsage ) );
config.writeEntry( "filterByLabel", m_filterByLabel ); config.writeEntry( "filterByLabel", m_filterByLabel );
config.writeEntry( "filteredLabel", m_filteredLabel ); config.writeEntry( "filteredLabel", m_filteredLabel );
config.deleteEntry( "ignoreWallet" ); // remove old settings config.deleteEntry( "ignoreWallet" ); // remove old settings
switch( m_kWalletUsage ) switch( m_kWalletUsage )
{ {
case NoPasswordEnteredYet: case NoPasswordEnteredYet:
if( m_username.isEmpty() && m_password.isEmpty() ) if( m_username.isEmpty() && m_password.isEmpty() )
break; // stay in this state break; // stay in this state
// otherwise /* Falls through. */
case PasswodInKWallet: case PasswodInKWallet:
openWalletToWrite(); openWalletToWrite();
config.deleteEntry( "username" ); // prevent possible stray credenti als config.deleteEntry( "username" ); // prevent possible stray credenti als
config.deleteEntry( "password" ); config.deleteEntry( "password" );
break; break;
case PasswordInAscii: case PasswordInAscii:
config.writeEntry( "username", m_username ); config.writeEntry( "username", m_username );
config.writeEntry( "password", m_password ); config.writeEntry( "password", m_password );
break; break;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)