summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2013-04-17 15:10:23 +0200
committerNiels Weber <niels.weber@digia.com>2013-04-17 15:52:16 +0200
commitf62a9c18206c0d256120b68b9eb3022e0ca79d23 (patch)
tree7ebd6088d2d6c6b1367c84f9f1647034de400a85
parent2b3a4ea8913861198280cddc1cb78571a8f9b13f (diff)
Use proper English.
Change-Id: I3f9c351c8bfd7d97b50cdb41a01ddd274ef44d41 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
-rw-r--r--src/libs/installer/repository.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/installer/repository.cpp b/src/libs/installer/repository.cpp
index f5b366d05..2f0510760 100644
--- a/src/libs/installer/repository.cpp
+++ b/src/libs/installer/repository.cpp
@@ -88,12 +88,12 @@ Repository::Repository(const QUrl &url, bool isDefault)
*/
Repository Repository::fromUserInput(const QString &repositoryUrl)
{
- QStringList supportedShemes;
- supportedShemes << QLatin1String("http") << QLatin1String("https") << QLatin1String("ftp") <<
+ QStringList supportedSchemes;
+ supportedSchemes << QLatin1String("http") << QLatin1String("https") << QLatin1String("ftp") <<
QLatin1String("file");
QUrl url = QUrl::fromUserInput(repositoryUrl);
- if (!supportedShemes.contains(url.scheme()) && QFileInfo(url.toString()).exists())
+ if (!supportedSchemes.contains(url.scheme()) && QFileInfo(url.toString()).exists())
url = QLatin1String("file:///") + url.toString();
QString userName = url.userName();