kio: add typo to the possible causes for KIO::ERR_MALFORMED_URL

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-12-23 18:45:56 +02:00
parent ee59c22250
commit 3f6c5931af

View file

@ -162,7 +162,7 @@ KIO_EXPORT QString KIO::buildErrorString(int errorCode, const QString &errorText
break; break;
case KIO::ERR_UNSUPPORTED_ACTION: case KIO::ERR_UNSUPPORTED_ACTION:
result = errorText; result = errorText;
// result = i18n( "Unsupported action %1" ).arg( errorText ); // result = i18n( "Unsupported action %1" ).arg( errorText );
break; break;
case KIO::ERR_IS_DIRECTORY: case KIO::ERR_IS_DIRECTORY:
result = i18n( "%1 is a folder, but a file was expected.", errorText ); result = i18n( "%1 is a folder, but a file was expected.", errorText );
@ -534,6 +534,7 @@ KIO_EXPORT QByteArray KIO::rawErrorDetail(int errorCode, const QString &errorTex
"formatted. The format of a URL is generally as follows:" "formatted. The format of a URL is generally as follows:"
"<blockquote><strong>protocol://user:password@www.example.org:port/folder/" "<blockquote><strong>protocol://user:password@www.example.org:port/folder/"
"filename.extension?query=value</strong></blockquote>" ); "filename.extension?query=value</strong></blockquote>" );
causes << cTypo;
solutions << sTypo; solutions << sTypo;
break; break;