uic: Rename raise() to raise_() for Python
Fixes: QTBUG-80791 Change-Id: Ia6339b8c683147456cdffa7f2d45972e8eacd92c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
9a77beaea3
commit
b31aef2900
@ -824,8 +824,8 @@ void WriteInitialization::acceptWidget(DomWidget *node)
|
||||
qPrintable(m_option.messagePrefix()),
|
||||
name.toLatin1().data());
|
||||
} else {
|
||||
m_output << m_indent << varName << language::derefPointer << "raise()"
|
||||
<< language::eol;
|
||||
m_output << m_indent << varName << language::derefPointer
|
||||
<< (language::language() != Language::Python ? "raise()" : "raise_()") << language::eol;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user