Fix minor typo

This commit is contained in:
Yuri Chornoivan 2021-07-27 12:53:21 +03:00
parent a15e2dbe5d
commit 9384f3c073
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ QMediaPlayer::Error AudioManager::error() const
{ {
if (d->m_player.error() != QMediaPlayer::NoError) { if (d->m_player.error() != QMediaPlayer::NoError) {
qCDebug(kastsAudio) << "AudioManager::error" << d->m_player.errorString(); qCDebug(kastsAudio) << "AudioManager::error" << d->m_player.errorString();
// Some error occured: probably best to unset the lastPlayingEntry to // Some error occurred: probably best to unset the lastPlayingEntry to
// avoid a deadlock when starting up again. // avoid a deadlock when starting up again.
DataManager::instance().setLastPlayingEntry(QStringLiteral("none")); DataManager::instance().setLastPlayingEntry(QStringLiteral("none"));
} }

View File

@ -102,7 +102,7 @@ void StorageMoveJob::moveFiles()
} }
} else { } else {
setError(2); setError(2);
setErrorText(i18n("An error occured while copying data")); setErrorText(i18n("An error occurred while copying data"));
} }
emitResult(); emitResult();