[Gammaray-commits] [KDAB/GammaRay] d7f1c7: QuickItemModel: Make more robust

Kevin Funk kfunk at kde.org
Wed Mar 12 15:31:53 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/KDAB/GammaRay
  Commit: d7f1c7d09503b4b4a962084f563da366d40ac95f
      https://github.com/KDAB/GammaRay/commit/d7f1c7d09503b4b4a962084f563da366d40ac95f
  Author: Kevin Funk <kevin.funk at kdab.com>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M plugins/quickinspector/quickitemmodel.cpp
    M plugins/quickinspector/quickitemmodel.h

  Log Message:
  -----------
  QuickItemModel: Make more robust

Track QQuickItem::window changes properly. Untrack the QQI in case
QQI::window gets set to null.

This fixes a crash for me when inspecting a QQ2-based application that
creates/deletes QQIs on a regular basis.


  Commit: cbf70187cee0cd4682ae8137d615846584a3dba6
      https://github.com/KDAB/GammaRay/commit/cbf70187cee0cd4682ae8137d615846584a3dba6
  Author: Kevin Funk <kevin.funk at kdab.com>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M plugins/quickinspector/quickitemmodel.cpp

  Log Message:
  -----------
  QuickItemModel: Do not add items without a window

We do not want to display items that are not yet added to a scene.

This fixes another assert:
8  0x00007ffff784d5ba in qt_assert (assertion=0x7fffe15680d3
"sourceParent",
    file=0x7fffe1567ff8
"/home/krf/devel/src/gammaray/plugins/quickinspector/quickitemmodel.cpp",
line=249)
    at
/home/krf/devel/src/qt5/qtbase/src/corelib/global/qglobal.cpp:2096
9  0x00007fffe154f698 in GammaRay::QuickItemModel::itemReparented
(this=0xa969c0) at
/home/krf/devel/src/gammaray/plugins/quickinspector/quickitemmodel.cpp:249


  Commit: 310158ef937e072ea3f5bd6f0b89915ada50cf66
      https://github.com/KDAB/GammaRay/commit/310158ef937e072ea3f5bd6f0b89915ada50cf66
  Author: Kevin Funk <kfunk at kde.org>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M plugins/quickinspector/quickitemmodel.cpp
    M plugins/quickinspector/quickitemmodel.h

  Log Message:
  -----------
  Merge pull request #72 from krf/quickmodel-fixes

Quickmodel fixes


Compare: https://github.com/KDAB/GammaRay/compare/958a8640c402...310158ef937e


More information about the Gammaray-commits mailing list