[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdeui/colors
From: Pino Toscano <pino () kde ! org>
Date: 2009-06-15 23:36:41
Message-ID: 1245109001.616890.14554.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 982490 by pino:
adjust the error message (that is shown when no rgb.txt is found) to the new data \
returned by namedColorFilePath()
M +6 -2 kcolordialog.cpp
--- trunk/KDE/kdelibs/kdeui/colors/kcolordialog.cpp #982489:982490
@@ -692,8 +692,12 @@
"file location(s) were examined:\n");
const char * const *path = namedColorFilePath();
- for (int i = 0; path[i]; ++i) {
- msg += path[i];
+ for (int i = 0; path[i]; i += 2) {
+ if (path[i + 1]) {
+ msg += QLatin1String(path[i + 1]) + ", " + \
QString::fromLatin1(path[i]); + } else {
+ msg += QLatin1String(path[i]);
+ }
msg += '\n';
}
KMessageBox::sorry(q, msg);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic