mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kdirshare: adjust to KHTTP changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
4d1aff9ff9
commit
0e81d497dd
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ QString KDirShareImpl::serve(const QString &dirpath,
|
|||
return m_error;
|
||||
}
|
||||
if (!m_user.isEmpty() && !m_password.isEmpty()) {
|
||||
if (!setAuthenticate(m_user.toUtf8(), m_password.toUtf8(), i18n("Not authorized"))) {
|
||||
if (!setAuthenticate(m_user.toUtf8(), m_password.toUtf8())) {
|
||||
m_error = i18n("Could not set authentication: %1", errorString());
|
||||
return m_error;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue