aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4executablecompilationunit.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2022-04-07 15:03:19 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2022-04-11 19:37:20 +0200
commitb9dcf12a463026d09b6bfa4ed213f62a480fb5f2 (patch)
treeb6fe14143b2ff460d93a9c3c63619acd4821e3f4 /src/qml/jsruntime/qv4executablecompilationunit.cpp
parent19d19864166e03405cb145de8141f905d0a6d4fd (diff)
QQuickTableView: keep selection model and tableview model in sync
The source model in the selection model will always need to be the same as the source model in TableView. So TableView might as well forward its own model to the selection model, so that the user don't need to worry about setting the model explicitly. The same is also done in QTableView. Still, it's always possible to force (perhaps by accident?) the two models to be different. To avoid confusion, we choose to print a warning if that happens. Change-Id: I9fec1d3de4cfe83cf28950ebdedd38a010df16a3 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4executablecompilationunit.cpp')
0 files changed, 0 insertions, 0 deletions