Commit dbcf4f23 authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor typos

parent 48a2121d
......@@ -206,7 +206,7 @@ struct PayloadTrait {
/// (eg. a shared pointer containing a pointer to SuperElementType)
/// same as Type if there is not super class
typedef typename Akonadi::SuperClass<T>::Type SuperType;
/// indicates if this payload is polymorphic, that is is a shared pointer
/// indicates if this payload is polymorphic, that it is a shared pointer
/// and has a known super class
static const bool isPolymorphic = false;
/// checks an object of this payload type for being @c null
......
......@@ -110,7 +110,7 @@ void ItemSerializer::deserialize(Item &item, const QByteArray &label, const QByt
deserialize(item, label, file, version);
file.close();
} else {
qCWarning(AKONADICORE_LOG) << "Failed to to open"
qCWarning(AKONADICORE_LOG) << "Failed to open"
<< ((storage == External) ? "external" : "foreign") << "payload:"
<< file.fileName() << file.errorString();
}
......
......@@ -1012,7 +1012,7 @@ DataStream &operator<<(DataStream &stream, const ScopeContext &context)
{
// We don't have a custom generic DataStream streaming operator for QVariant
// because it's very hard, esp. without access to QVariant private
// stuff, so we have have to decompose it manually here.
// stuff, so we have to decompose it manually here.
QVariant::Type vType = context.d->collectionCtx.type();
stream << vType;
if (vType == QVariant::LongLong) {
......
......@@ -59,7 +59,7 @@ bool RelationRemove::parseStream()
DataStore::self()->notificationCollector()->relationRemoved(relation);
}
// Get all PIM items that that are part of the relation
// Get all PIM items that are part of the relation
SelectQueryBuilder<PimItem> itemsQuery;
itemsQuery.setSubQueryMode(Query::Or);
itemsQuery.addValueCondition(PimItem::idColumn(), Query::Equals, cmd.left());
......
......@@ -76,7 +76,7 @@ private:
/**
* Verifies there is a path from @p col to the root of the collection tree
* and that that everything along that path belongs to the same resource.
* and that everything along that path belongs to the same resource.
*/
void checkPathToRoot(const Collection &col);
......
......@@ -33,7 +33,7 @@
<item row="0" column="1">
<widget class="QLabel" name="folderTypeLbl">
<property name="text">
<string>uknown</string>
<string>unknown</string>
</property>
</widget>
</item>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment