Skip to content

Commit

Permalink
misc: Fix some random typos and grammar while reading code.
Browse files Browse the repository at this point in the history
Typos:
recieve   -> receive
descrived -> describe

Grammar:
this types -> these types

Change-Id: Iedacc51a6322996f423ac9472af0a597424a4fed
Reviewed-by: Casper van Donderen <[email protected]>
  • Loading branch information
zecke authored and Qt by Nokia committed Mar 9, 2012
1 parent e02c396 commit bbc97c3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/changes-4.5.0-garden
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Optimizations
SystemGc from the CCoeControl we are currently painting on instead.

- qeventdispatcher_s60.cpp
* Stopped using Active Objects to recieve events, we get them from
* Stopped using Active Objects to receive events, we get them from
C*AppUi and CCoeControl instead.

- QWidget
Expand Down
2 changes: 1 addition & 1 deletion src/corelib/global/qprocessordetection.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
/*
SuperH family, optional revision: SH-4A
SuperH is bi-endian, use endianness auto-detection descrived above.
SuperH is bi-endian, use endianness auto-detection described above.
*/
// #elif defined(__sh__)
// # define Q_PROCESSOR_SH
Expand Down
8 changes: 4 additions & 4 deletions src/corelib/kernel/qvariant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1676,12 +1676,12 @@ void QVariant::load(QDataStream &s)
// by moving all ids down by 97.
typeId -= 97;
} else if (typeId == 69 /* QIcon */) {
// In Qt5 after modularization project this types where moved to a separate module (and ids were downgraded)
// In Qt5 after modularization project these types where moved to a separate module (and ids were downgraded)
typeId = QMetaType::QIcon;
} else if (typeId == 75 /* QSizePolicy */) {
typeId = QMetaType::QSizePolicy;
} else if (typeId >= 70) {
// and as a result this types recieved lower ids too
// and as a result these types received lower ids too
if (typeId <= 74) { // QImage QPolygon QRegion QBitmap QCursor
typeId -=1;
} else if (typeId <= 86) { // QKeySequence QPen QTextLength QTextFormat QMatrix QTransform QMatrix4x4 QVector2D QVector3D QVector4D QQuaternion
Expand Down Expand Up @@ -1749,12 +1749,12 @@ void QVariant::save(QDataStream &s) const
// by moving all ids down by 97.
typeId += 97;
} else if (typeId == QMetaType::QIcon) {
// In Qt5 after modularization project this types where moved to a separate module (and ids were downgraded)
// In Qt5 after modularization project these types where moved to a separate module (and ids were downgraded)
typeId = 69;
} else if (typeId == QMetaType::QSizePolicy) {
typeId = 75;
} else if (typeId >= QMetaType::QImage) {
// and as a result this types recieved lower ids too
// and as a result these types received lower ids too
if (typeId <= QMetaType::QCursor) {
typeId +=1;
} else if (typeId <= QMetaType::QQuaternion) {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/platforms/kms/qkmsdevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void QKmsDevice::createScreens()

void QKmsDevice::handlePageFlipCompleted()
{
//qDebug() << "Display signal recieved";
//qDebug() << "Display signal received";
drmEventContext eventContext;

memset(&eventContext, 0, sizeof eventContext);
Expand Down

0 comments on commit bbc97c3

Please sign in to comment.