mirror of
https://github.com/KDE/kasts.git
synced 2025-01-30 17:15:03 +01:00
Fix database storage bug in ErrorLogModel
This commit is contained in:
parent
0c13326ab1
commit
eab5d08acd
@ -66,7 +66,7 @@ void ErrorLogModel::monitorErrorMessages(const QString &url, const QString &id,
|
||||
|
||||
// Also add error to database
|
||||
QSqlQuery query;
|
||||
query.prepare(QStringLiteral("INSERT INTO Errors VALUES (:url, :id, :code, :string, :date);"));
|
||||
query.prepare(QStringLiteral("INSERT INTO Errors VALUES (:url, :id, :code, :message, :date);"));
|
||||
query.bindValue(QStringLiteral(":url"), error->url);
|
||||
query.bindValue(QStringLiteral(":id"), error->id);
|
||||
query.bindValue(QStringLiteral(":code"), error->code);
|
||||
|
Loading…
x
Reference in New Issue
Block a user