kioslave: log trash KIO slave messages to specialized area

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-10-23 00:00:56 +03:00
parent 1cedf80f48
commit 09eb3181c2
2 changed files with 3 additions and 1 deletions

View file

@ -1,3 +1,5 @@
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=7116)
if(ENABLE_TESTING)
add_subdirectory(tests)
endif()

View file

@ -486,7 +486,7 @@ void TrashProtocol::special( const QByteArray & data )
break;
}
default:
kWarning(7116) << "Unknown command in special(): " << cmd ;
kWarning() << "Unknown command in special(): " << cmd ;
error( KIO::ERR_UNSUPPORTED_ACTION, QString::number(cmd) );
break;
}