[QtSql][QSqlTableModel] fix failure to refresh in selectRow()
authorMark Brand <mabrand@mabrand.nl>
Fri, 25 Apr 2014 15:55:04 +0000 (17:55 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sun, 27 Apr 2014 18:39:11 +0000 (20:39 +0200)
commit373d858812a84b48be482dd64ad9d248ab2d5b3c
treec762771b1cdbce5e831de887ea5a03e9733e185b
parent1d372eddbe9e4eb75a0fcde4bdcdebcf75222075
[QtSql][QSqlTableModel] fix failure to refresh in selectRow()

Caused by missing braces, leaving the break outside the scope of the if clause.

Task-number: QTBUG-38509
Change-Id: I6b0a7f34512a3a9b0fbd790116f81f54f4a91cf0
Reviewed-by: Tobias Koenig <tobias.koenig.qnx@kdab.com>
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
src/sql/models/qsqltablemodel.cpp