diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-04-27 18:36:33 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-04-27 19:34:21 +0200 |
commit | f723e96108e5204f53cf45aa600a6077e2ec6cde (patch) | |
tree | df0e98fc206b017cffd664a32db53f2b46db6654 /krandr | |
parent | 83bd0da219a825492fd79077691363a2226d0794 (diff) | |
download | tdelibs-f723e96108e5204f53cf45aa600a6077e2ec6cde.tar.gz tdelibs-f723e96108e5204f53cf45aa600a6077e2ec6cde.zip |
Cleanup output clutter
(cherry picked from commit 987dc667f267a536e918194ab13d7375c3ad5537)
Diffstat (limited to 'krandr')
-rw-r--r-- | krandr/libkrandr.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/krandr/libkrandr.cc b/krandr/libkrandr.cc index e1048969c..893913cea 100644 --- a/krandr/libkrandr.cc +++ b/krandr/libkrandr.cc @@ -177,7 +177,7 @@ TQString KRandrSimpleAPI::applyIccFile(TQString screenName, TQString fileName) { icc_command = TQString("xcalib \"%1\"").arg(fileName); if ((pipe_xcalib = popen(icc_command.ascii(), "r")) == NULL) { - printf("Xcalib pipe error\n\r"); + printf("Xcalib pipe error\n [xcalib apply]"); } else { fgets(xcalib_result, 2048, pipe_xcalib); @@ -242,7 +242,7 @@ TQString KRandrSimpleAPI::applyIccFile(TQString screenName, TQString fileName) { icc_command = TQString("xcalib -c"); if ((pipe_xcalib = popen(icc_command.ascii(), "r")) == NULL) { - printf("Xcalib pipe error\n\r"); + printf("Xcalib pipe error\n [xcalib clear]"); } else { fgets(xcalib_result, 2048, pipe_xcalib); @@ -393,7 +393,7 @@ TQString KRandrSimpleAPI::applySystemWideIccConfiguration(TQString kde_confdir) icc_command = TQString("xcalib \"%1\"").arg(getIccFileName(NULL, "Default", kde_confdir)); if ((pipe_xcalib = popen(icc_command.ascii(), "r")) == NULL) { - printf("Xcalib pipe error\n\r"); + printf("Xcalib pipe error [xcalib apply]\n"); } else { fgets(xcalib_result, 2048, pipe_xcalib); @@ -630,7 +630,7 @@ bool KRandrSimpleAPI::applySystemwideDisplayConfiguration(TQPtrList<SingleScreen } } else { - printf("[WARNING] Unable to find configuration for monitor %d; settings may not be correctly applied...\n\r", i); fflush(stdout); + printf("[WARNING] Unable to find configuration for monitor %d; settings may not be correctly applied...\n", i); fflush(stdout); } } freeScreenInfoStructure(randr_screen_info); @@ -1276,7 +1276,7 @@ TQString KRandrSimpleAPI::clearIccConfiguration() { icc_command = TQString("xcalib -c"); if ((pipe_xcalib = popen(icc_command.ascii(), "r")) == NULL) { - printf("Xcalib pipe error\n\r"); + printf("Xcalib pipe error [xcalib clear]\n"); } else { fgets(xcalib_result, 2048, pipe_xcalib); |