- QCAD was running during the lunch break
- one drawing opened in print preview
- another drawing opened (normal mode)
- switched to another virtual desktop
if (!isNull(child.objectName) && child.objectName != "") {
ca[child.objectName] = child;
}
=> if (!isNull(child.children) && child.children().length != 0) {
getWidgets(child, ca);
}
Uncaught exception at /home/martin/workspace/rsframework/scripts/library.js:638:
Error: cannot access member `children' of deleted QObject
638 if (!isNull(child.children) && child.children().length != 0) {
qsdb> child
Error: cannot access member `toString' of deleted QObject
qsdb> isNull(child)
true
qsdb> .bt
#0 getWidgets(widget = QToolBar) at /home/martin/workspace/rsframework/scripts/library.js:638
#1 <anonymous>(resume = true) at scripts/File/PrintPreview/PrintPreview.js:235
#2 <anonymous>() at /home/martin/workspace/rsframework/scripts/Idle/../EAction.js:237
#3 <anonymous>() at /home/martin/workspace/rsframework/scripts/File/
PrintPreview/../../Idle/DefaultAction/DefaultAction.js:119
#4 <global>() at -1