[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeaddons/kicker-applets/ktimemon
From: Laurent Montel <montel () kde ! org>
Date: 2006-04-10 15:58:27
Message-ID: 1144684707.378788.12914.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 528288 by mlaurent:
Fix some error
M +5 -5 sample.cc
--- trunk/KDE/kdeaddons/kicker-applets/ktimemon/sample.cc #528287:528288
@@ -93,7 +93,7 @@
KMessageBox::error(timemon,
i18n("Unable to open the file '%1'. The diagnostics \
are:\n%2.\n"
"This file is required to determine current memory \
usage.\n"
- "Maybe your proc filesystem is non-Linux standard?", \
file, strerror(errno))); + "Maybe your proc filesystem is \
non-Linux standard?", QString(file), strerror(errno))); exit(1);
}
@@ -104,7 +104,7 @@
KMessageBox::error(timemon,
i18n("Unable to open the file '%1'. The diagnostics \
are:\n%2.\n"
"This file is required to determine current system info. \
"
- "Maybe your proc filesystem is non-Linux standard?", \
file, strerror(errno))); + "Maybe your proc filesystem is \
non-Linux standard?", QString(file), strerror(errno))); exit(1);
}
@@ -265,7 +265,7 @@
lseek(memFD, 0, 0);
if ((l = read(memFD, buffer, sizeof(buffer) - 1)) < 0)
fatal(i18n("Unable to read the memory usage file '%1/%2'.\n"
- "The diagnostics are: %3", proc, MEMINFO_NAME, strerror(errno)));
+ "The diagnostics are: %3", QString(proc), QString(MEMINFO_NAME), \
strerror(errno)));
buffer[l] = '\0';
static struct {
@@ -291,7 +291,7 @@
"different file format than expected.\n"
"Maybe your version of the proc filesystem is "
"incompatible with supported versions. "
- "Please contact the developer at m.maierhofer@tees.ac.uk who will try to \
sort this out.", proc, MEMINFO_NAME)); + "Please contact the developer at \
m.maierhofer@tees.ac.uk who will try to sort this out.", QString(proc), \
MEMINFO_NAME)); l++;
}
@@ -304,7 +304,7 @@
lseek(statFD, 0, 0);
if ((l = read(statFD, buffer, sizeof(buffer)-1)) < 0)
fatal(i18n("Unable to read the system usage file '%1/%2'.\n"
- "The diagnostics are: %3", proc, STAT_NAME, strerror(errno)));
+ "The diagnostics are: %3", QString(proc), STAT_NAME, \
strerror(errno)));
buffer[l] = '\0';
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic