Commit 21fa3e04 authored by Marc Mutz's avatar Marc Mutz
Browse files

QAxBase: use QSignalBlocker


Change-Id: I87e40e12957d3b50c690bd23d08524023079337c
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@qt.io>
parent 46454bd6
Branches
Tags
No related merge requests found
Showing with 1 addition and 2 deletions
......@@ -194,13 +194,12 @@ inline QString QAxBase::generateDocumentation()
inline QDataStream &operator >>(QDataStream &s, QAxBase &c)
{
QAxBase::PropertyBag bag;
c.qObject()->blockSignals(true);
const QSignalBlocker blocker(c.qObject());
QString control;
s >> control;
c.setControl(control);
s >> bag;
c.setPropertyBag(bag);
c.qObject()->blockSignals(false);
return s;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment