Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 68bd8642 authored by Albert Astals Cid's avatar Albert Astals Cid

Fix if to actually have a comparison

Reviewers: cullmann

Reviewed By: cullmann

Subscribers: laysrodrigues, kfunk, kwrite-devel, cullmann

Tags: #kate

Differential Revision:
parent 291b6899
......@@ -341,7 +341,7 @@ void SchemaWidget::generateStatement(QSqlDriver::StatementType statementType)
// set all fields to a value (NULL)
// values are needed to generate update and insert statements
if (statementType == QSqlDriver::UpdateStatement || QSqlDriver::InsertStatement)
if (statementType == QSqlDriver::UpdateStatement || statementType == QSqlDriver::InsertStatement)
for (int i = 0, n = rec.count(); i < n; ++i)
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