mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kioclient: log messages to specialized area
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
156bfe470a
commit
13d93f32de
2 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=101)
|
||||
|
||||
set(kioclient_SRCS kioclient.cpp )
|
||||
add_executable(kioclient ${kioclient_SRCS})
|
||||
target_compile_definitions(kioclient PRIVATE -DKIOCLIENT_AS_KIOCLIENT)
|
||||
|
|
|
@ -287,7 +287,7 @@ bool ClientApp::doIt()
|
|||
|
||||
// KIO needs dbus (for uiserver communication)
|
||||
if (!QDBusConnection::sessionBus().isConnected())
|
||||
kFatal(101) << "Session bus not found" ;
|
||||
kFatal() << "Session bus not found" ;
|
||||
|
||||
#ifdef KIOCLIENT_AS_KDEOPEN
|
||||
return app.kde_open(args->url(0), QByteArray(), false);
|
||||
|
|
Loading…
Add table
Reference in a new issue