summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/setpluginpathonqtcoreoperation.cpp
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2013-02-05 12:08:18 +0100
committerNiels Weber <niels.weber@digia.com>2013-02-07 16:43:33 +0100
commit1d7e30eca88a14c4a7a6333e51d70f8186c9e54a (patch)
tree4bf299eecc9793a3d4597e0f9df7d9be5a7d7c94 /src/libs/installer/setpluginpathonqtcoreoperation.cpp
parentb32aa577b9647a79537e9218748c9987d2129728 (diff)
Typos, style and language improvements.
Change-Id: Ibc7d4ea8319b48b908adad75aa3a43858667cdde Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src/libs/installer/setpluginpathonqtcoreoperation.cpp')
-rw-r--r--src/libs/installer/setpluginpathonqtcoreoperation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/setpluginpathonqtcoreoperation.cpp b/src/libs/installer/setpluginpathonqtcoreoperation.cpp
index ac681626e..de9057b4b 100644
--- a/src/libs/installer/setpluginpathonqtcoreoperation.cpp
+++ b/src/libs/installer/setpluginpathonqtcoreoperation.cpp
@@ -67,7 +67,7 @@ namespace {
}
Q_ASSERT(file.isOpen());
if (!file.isOpen()) {
- qDebug() << QString::fromLatin1("qpatch: warning: file '%1' can not open as ReadOnly.").arg(
+ qDebug() << QString::fromLatin1("qpatch: warning: file '%1' can not be opened as ReadOnly.").arg(
binaryPath);
qDebug() << file.errorString();
return QByteArray();
@@ -86,7 +86,7 @@ namespace {
int stringEndPosition = offset;
while(source.at(stringEndPosition++) != '\0') {}
- //after search string till the first \0 it should be our looking for QByteArray
+ // between the search string and the first \0 is the QByteArray we are looking for
return source.mid(offset + searchValue.size(), stringEndPosition - offset);
}
}