https://bugs.kde.org/show_bug.cgi?id=335090
fry...@ruggedinbox.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fry...@ruggedinbox.com --- Comment #19 from fry...@ruggedinbox.com --- This patch corrects the behavior, please approve and release fixed version: diff --git a/resources/dav/resource/settings.cpp b/resources/dav/resource/settings.cpp index 931dab5..e9b0f93 100644 --- a/resources/dav/resource/settings.cpp +++ b/resources/dav/resource/settings.cpp @@ -291,6 +291,9 @@ Settings::UrlConfiguration * Settings::urlConfiguration( DavUtils::Protocol prot QString Settings::username( DavUtils::Protocol proto, const QString &url ) const { + if ( mUrls.isEmpty() ) + buildUrlsList(); + QString key = url + QLatin1Char(',') + DavUtils::protocolName( proto ); if ( mUrls.contains( key ) ) @@ -308,6 +311,9 @@ QString Settings::username( DavUtils::Protocol proto, const QString &url ) const QString Settings::password(DavUtils::Protocol proto, const QString& url) { + if ( mUrls.isEmpty() ) + buildUrlsList(); + QString key = url + QLatin1Char(',') + DavUtils::protocolName( proto ); if ( mUrls.contains( key ) ) -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs