mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdecore: do not deep-copy the QString objects in KAboutData::translators()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
d55f6589fb
commit
d181c8678c
1 changed files with 2 additions and 2 deletions
|
@ -606,11 +606,11 @@ QList<KAboutPerson> KAboutData::translators() const
|
||||||
emailList = translatorEmail.split(QString(QLatin1Char(',')), QString::KeepEmptyParts);
|
emailList = translatorEmail.split(QString(QLatin1Char(',')), QString::KeepEmptyParts);
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ( const QString nit, nameList )
|
foreach ( const QString &nit, nameList )
|
||||||
{
|
{
|
||||||
// overkill?
|
// overkill?
|
||||||
QString email;
|
QString email;
|
||||||
foreach (const QString eit, emailList )
|
foreach (const QString &eit, emailList )
|
||||||
{
|
{
|
||||||
email = eit;
|
email = eit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue