summaryrefslogtreecommitdiffstats
path: root/kcontrol
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2013-09-07 18:27:24 -0500
committerDarrell Anderson <[email protected]>2013-09-07 18:27:24 -0500
commitf123d99fd32a3eba6fc18c6c762db23fb5d431d6 (patch)
treecb177c172f43d7db1ded16ec769e7b9a2acb8641 /kcontrol
parent3e88ddfbc3df52c97d5354890fb9ac68af49bddd (diff)
downloadtdebase-f123d99fd32a3eba6fc18c6c762db23fb5d431d6.tar.gz
tdebase-f123d99fd32a3eba6fc18c6c762db23fb5d431d6.zip
Add source code module name to stdout/stderr messages to improve readability.
Diffstat (limited to 'kcontrol')
-rw-r--r--kcontrol/access/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kcontrol/access/main.cpp b/kcontrol/access/main.cpp
index e6bb96ca9..aede70579 100644
--- a/kcontrol/access/main.cpp
+++ b/kcontrol/access/main.cpp
@@ -22,10 +22,10 @@ extern "C" KDE_EXPORT int kdemain(int argc, char * argv[] )
int minor = XkbMinorVersion;
if (!XkbLibraryVersion(&major, &minor))
{
- kdError() << "Xlib XKB extension does not match" << endl;
+ kdError() << "[kcontrol-access] Xlib XKB extension does not match" << endl;
return 1;
}
- kdDebug() << "Xlib XKB extension major=" << major << " minor=" << minor << endl;
+ kdDebug() << "[kcontrol-access] Xlib XKB extension major=" << major << " minor=" << minor << endl;
// we need an application object for tqt_xdisplay()
KAccessApp app;
@@ -38,10 +38,10 @@ extern "C" KDE_EXPORT int kdemain(int argc, char * argv[] )
if (!XkbQueryExtension(tqt_xdisplay(), &opcode_rtrn, &xkb_opcode, &error_rtrn,
&major, &minor))
{
- kdError() << "X server has not matching XKB extension" << endl;
+ kdError() << "[kcontrol-access] X server has not matching XKB extension" << endl;
return 1;
}
- kdDebug() << "X server XKB extension major=" << major << " minor=" << minor << endl;
+ kdDebug() << "[kcontrol-access] X server XKB extension major=" << major << " minor=" << minor << endl;
app.setXkbOpcode(xkb_opcode);
app.disableSessionManagement();