From f123d99fd32a3eba6fc18c6c762db23fb5d431d6 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sat, 7 Sep 2013 18:27:24 -0500 Subject: Add source code module name to stdout/stderr messages to improve readability. --- kcontrol/access/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kcontrol') 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(); -- cgit v1.2.1