mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
kio: KIO::AuthInfo copy optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
71d51a985e
commit
dcea148ad8
1 changed files with 11 additions and 11 deletions
|
@ -34,18 +34,18 @@ AuthInfo::AuthInfo()
|
|||
}
|
||||
|
||||
AuthInfo::AuthInfo(const AuthInfo &info)
|
||||
: url(info.url),
|
||||
username(info.username),
|
||||
password(info.password),
|
||||
prompt(info.prompt),
|
||||
caption(info.caption),
|
||||
comment(info.comment),
|
||||
commentLabel(info.commentLabel),
|
||||
readOnly(info.readOnly),
|
||||
keepPassword(info.keepPassword),
|
||||
anonymousMode(info.anonymousMode),
|
||||
hideUserName(info.hideUserName)
|
||||
{
|
||||
url = info.url;
|
||||
username = info.username;
|
||||
password = info.password;
|
||||
prompt = info.prompt;
|
||||
caption = info.caption;
|
||||
comment = info.comment;
|
||||
commentLabel = info.commentLabel;
|
||||
readOnly = info.readOnly;
|
||||
keepPassword = info.keepPassword;
|
||||
anonymousMode = info.anonymousMode;
|
||||
hideUserName = info.hideUserName;
|
||||
}
|
||||
|
||||
AuthInfo& AuthInfo::operator=(const AuthInfo &info)
|
||||
|
|
Loading…
Add table
Reference in a new issue