mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kio: correct error message areas in KIO::chmod()
250 is reserved for kfile (kdelibs) Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c2d6368ce1
commit
2c53b75153
1 changed files with 2 additions and 2 deletions
|
@ -273,7 +273,7 @@ ChmodJob *KIO::chmod( const KFileItemList& lstItems, int permissions, int mask,
|
|||
{
|
||||
const KUser kuser(owner);
|
||||
if ( !kuser.isValid() )
|
||||
kError(250) << "No user" << owner;
|
||||
kError(7007) << "No user" << owner;
|
||||
else
|
||||
newOwnerID = kuser.uid();
|
||||
}
|
||||
|
@ -282,7 +282,7 @@ ChmodJob *KIO::chmod( const KFileItemList& lstItems, int permissions, int mask,
|
|||
{
|
||||
const KUserGroup kusergroup(group);
|
||||
if ( kusergroup.isValid() )
|
||||
kError(250) << "No group" << group;
|
||||
kError(7007) << "No group" << group;
|
||||
else
|
||||
newGroupID = kusergroup.gid();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue