Reviewing merge request #2266: Make layout{AboutToBe,}Changed signals from QSFPM match the source model

This fixes some crashes we experience when moving items in the source model.

The unit test in this MR depends on the change in http://qt.gitorious.org/qt/qt/merge_requests/2262 which should show

http://qt.gitorious.org/~steveire/qt/steveires-clone/commit/826c7cba5368b56114581aa74b8b0b1f092657d0

now but doesn't for some reason even though I tried updating it.

Commits that would be merged:

Version 3
  • Version 1
  • Version 2
  • Version 3
  • 0a4f8a7
  • 6ace1cb
  • Make the layout{,AboutToBe}Changed signals in the QSortFilterProxyModel match its source.

Showing 0a4f8a7-6ace1cb

Comments

Looks ok at a first glance.

I don’t really like the dependencies between tests.

Maybe it is better to put anything that depends on ModelTest in the modeltest directory instead.

If you mean moving dynamictreemodel into the modeltest directory I'd be fine with that.

I can’t do it myself for a few days though.

→ State changed from New to Merged

Merged into oslo-staging-2
315c09c3873f7c5d8b785443372bf975bae47ee7

→ State changed from Merged to Reviewing

This has not been merged yet. 2262 has been merged.

→ State changed from Reviewing to Merged

Now merged 82a35ed3f1dede556e9ab6e30b86997c4a8f0fd1

Add a new comment:

Login or create an account to post a comment

How to apply this merge request to your repository