Fix english typo.

This commit is contained in:
sledgehammer999 2017-11-21 02:14:44 +02:00
parent 296c7d3c13
commit 4927d26877
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2

View File

@ -163,7 +163,7 @@ bool Session::moveItem(const QString &itemPath, const QString &destPath, QString
auto item = m_itemsByPath.value(itemPath);
if (!item) {
if (error)
*error = tr("Item doesn't exists: %1.").arg(itemPath);
*error = tr("Item doesn't exist: %1.").arg(itemPath);
return false;
}
@ -201,7 +201,7 @@ bool Session::removeItem(const QString &itemPath, QString *error)
auto item = m_itemsByPath.value(itemPath);
if (!item) {
if (error)
*error = tr("Item doesn't exists: %1.").arg(itemPath);
*error = tr("Item doesn't exist: %1.").arg(itemPath);
return false;
}