[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kutils
From: Laurent Montel <montel () kde ! org>
Date: 2011-01-05 12:36:32
Message-ID: 20110105123632.765F3AC8B0 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1212001 by mlaurent:
The scope of the variable i can be reduced
M +1 -1 kpluginselector.cpp
--- trunk/KDE/kdelibs/kutils/kpluginselector.cpp #1212000:1212001
@@ -783,8 +783,8 @@
aboutData.setProgramIconName(index.model()->data(index, Qt::DecorationRole).toString());
const QStringList authors = author.split(',');
const QStringList emails = email.split(',');
+ if (authors.count() == emails.count()) {
int i = 0;
- if (authors.count() == emails.count()) {
foreach (const QString &author, authors) {
if (!author.isEmpty()) {
aboutData.addAuthor(ki18n(author.toUtf8()), ki18n(QByteArray()), emails[i].toUtf8(), 0);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic