/***************************************************************************
- * Copyright (C) 2005-2020 by the Quassel Project *
+ * Copyright (C) 2005-2022 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
safeExec(query);
error = query.lastError().isValid();
- // unexepcted error occured (19 == constraint violation)
+ // unexpected error occurred (19 == constraint violation)
if (error && query.lastError().nativeErrorCode() != QLatin1String{"19"}) {
watchQuery(query);
}