[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [libkexiv2] libkexiv2: code polish
From:       Andi Clemens <andi.clemens () googlemail ! com>
Date:       2012-01-01 1:12:36
Message-ID: 20120101011236.B35E9A60BE () git ! kde ! org
[Download RAW message or body]

Git commit 7f8919e20ba929fedaabd9bad777b7c497bf4497 by Andi Clemens.
Committed on 01/01/2012 at 01:58.
Pushed by aclemens into branch 'master'.

code polish

M  +1    -1    libkexiv2/altlangstredit.cpp
M  +1    -1    libkexiv2/rotationmatrix.cpp

http://commits.kde.org/libkexiv2/7f8919e20ba929fedaabd9bad777b7c497bf4497

diff --git a/libkexiv2/altlangstredit.cpp b/libkexiv2/altlangstredit.cpp
index e6b9039..5613504 100644
--- a/libkexiv2/altlangstredit.cpp
+++ b/libkexiv2/altlangstredit.cpp
@@ -397,7 +397,7 @@ void AltLangStrEdit::loadLangAltListEntries()
     QStringList list = d->values.keys();
     if (!list.isEmpty())
     {
-        foreach (const QString &item, list)
+        foreach(const QString &item, list)
         {
               d->languageCB->addItem(item);
               d->languageCB->setItemIcon(d->languageCB->count()-1, SmallIcon("dialog-ok"));
diff --git a/libkexiv2/rotationmatrix.cpp b/libkexiv2/rotationmatrix.cpp
index d711a09..f99aed9 100644
--- a/libkexiv2/rotationmatrix.cpp
+++ b/libkexiv2/rotationmatrix.cpp
@@ -196,7 +196,7 @@ RotationMatrix& RotationMatrix::operator*=(TransformationAction action)
 
 RotationMatrix& RotationMatrix::operator*=(QList<TransformationAction> actions)
 {
-    foreach (const TransformationAction& action, actions)
+    foreach(const TransformationAction& action, actions)
     {
         *this *= Matrix::matrix(action);
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic