make sure the layout timer isn't running
when maintintem changes Change-Id: I59d1930caf2686e1fa9a1fb0510e15630898d99f
This commit is contained in:
parent
1015d51997
commit
2a582e6b4a
@ -632,6 +632,7 @@ QQuickItem *Dialog::mainItem() const
|
|||||||
void Dialog::setMainItem(QQuickItem *mainItem)
|
void Dialog::setMainItem(QQuickItem *mainItem)
|
||||||
{
|
{
|
||||||
if (d->mainItem != mainItem) {
|
if (d->mainItem != mainItem) {
|
||||||
|
d->hintsCommitTimer.stop();
|
||||||
if (d->mainItem) {
|
if (d->mainItem) {
|
||||||
d->mainItem->setParentItem(0);
|
d->mainItem->setParentItem(0);
|
||||||
d->mainItem->setParent(parent());
|
d->mainItem->setParent(parent());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user