From f44c9e26ed48a966d3ba305bb01667840b3ec96a Mon Sep 17 00:00:00 2001
From: Tobias Hunger <tobias.hunger@nokia.com>
Date: Wed, 31 Aug 2011 09:55:34 +0000
Subject: [PATCH] Fix typo in enum name

Change-Id: I5de645197318062f2174e0205bfffc98413f911e
Reviewed-on: http://codereview.qt.nokia.com/3997
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
---
 src/plugins/debugger/memoryagent.cpp         | 2 +-
 src/plugins/projectexplorer/abi.cpp          | 8 ++++----
 src/plugins/projectexplorer/abi.h            | 2 +-
 src/plugins/projectexplorer/gcctoolchain.cpp | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/plugins/debugger/memoryagent.cpp b/src/plugins/debugger/memoryagent.cpp
index 1ebbf162a11..38da3f77b3d 100644
--- a/src/plugins/debugger/memoryagent.cpp
+++ b/src/plugins/debugger/memoryagent.cpp
@@ -316,7 +316,7 @@ bool MemoryAgent::isBigEndian(const ProjectExplorer::Abi &a)
     case ProjectExplorer::Abi::ItaniumArchitecture: // Configureable
     case ProjectExplorer::Abi::ArmArchitecture:     // Configureable
         break;
-    case ProjectExplorer::Abi::MipsArcitecture:     // Configureable
+    case ProjectExplorer::Abi::MipsArchitecture:     // Configureable
     case ProjectExplorer::Abi::PowerPCArchitecture: // Configureable
         return true;
     }
diff --git a/src/plugins/projectexplorer/abi.cpp b/src/plugins/projectexplorer/abi.cpp
index df3b558a2fb..98ad264bffb 100644
--- a/src/plugins/projectexplorer/abi.cpp
+++ b/src/plugins/projectexplorer/abi.cpp
@@ -93,7 +93,7 @@ static QList<Abi> parseCoffHeader(const QByteArray &data)
         width = 32;
         break;
     case 0x0166: // MIPS, little endian
-        arch = Abi::MipsArcitecture;
+        arch = Abi::MipsArchitecture;
         width = 32;
         break;
     case 0x0200: // ia64
@@ -176,7 +176,7 @@ static QList<Abi> abiOf(const QByteArray &data)
             result.append(Abi(Abi::X86Architecture, os, flavor, Abi::ElfFormat, 32));
             break;
         case 8: // EM_MIPS
-            result.append(Abi(Abi::MipsArcitecture, os, flavor, Abi::ElfFormat, 32));
+            result.append(Abi(Abi::MipsArchitecture, os, flavor, Abi::ElfFormat, 32));
             break;
         case 20: // EM_PPC
             result.append(Abi(Abi::PowerPCArchitecture, os, flavor, Abi::ElfFormat, 32));
@@ -282,7 +282,7 @@ Abi::Abi(const QString &abiString) :
         else if (abiParts.at(0) == QLatin1String("x86"))
             m_architecture = X86Architecture;
         else if (abiParts.at(0) == QLatin1String("mips"))
-            m_architecture = MipsArcitecture;
+            m_architecture = MipsArchitecture;
         else if (abiParts.at(0) == QLatin1String("ppc"))
             m_architecture = PowerPCArchitecture;
         else if (abiParts.at(0) == QLatin1String("itanium"))
@@ -440,7 +440,7 @@ QString Abi::toString(const Architecture &a)
         return QLatin1String("arm");
     case X86Architecture:
         return QLatin1String("x86");
-    case MipsArcitecture:
+    case MipsArchitecture:
         return QLatin1String("mips");
     case PowerPCArchitecture:
         return QLatin1String("ppc");
diff --git a/src/plugins/projectexplorer/abi.h b/src/plugins/projectexplorer/abi.h
index 2e03138b15a..b9a75cad6cd 100644
--- a/src/plugins/projectexplorer/abi.h
+++ b/src/plugins/projectexplorer/abi.h
@@ -50,7 +50,7 @@ public:
         ArmArchitecture,
         X86Architecture,
         ItaniumArchitecture,
-        MipsArcitecture,
+        MipsArchitecture,
         PowerPCArchitecture,
         UnknownArchitecture
     };
diff --git a/src/plugins/projectexplorer/gcctoolchain.cpp b/src/plugins/projectexplorer/gcctoolchain.cpp
index c46ad267220..5767af7d0c0 100644
--- a/src/plugins/projectexplorer/gcctoolchain.cpp
+++ b/src/plugins/projectexplorer/gcctoolchain.cpp
@@ -198,7 +198,7 @@ static QList<ProjectExplorer::Abi> guessGccAbi(const QString &m)
             arch = ProjectExplorer::Abi::ArmArchitecture;
             width = 32;
         } else if (p == QLatin1String("mipsel")) {
-            arch = ProjectExplorer::Abi::MipsArcitecture;
+            arch = ProjectExplorer::Abi::MipsArchitecture;
             width = 32;
         } else if (p == QLatin1String("x86_64")) {
             arch = ProjectExplorer::Abi::X86Architecture;
-- 
GitLab