if parent = 0, component is complete
the tooltip dialog is created from c++, not qml this fixes dialog positioning for tooltips
This commit is contained in:
parent
dff653354f
commit
c3d6c00a95
@ -55,7 +55,7 @@ DialogProxy::DialogProxy(QQuickItem *parent)
|
|||||||
m_type(Normal),
|
m_type(Normal),
|
||||||
m_hideOnWindowDeactivate(false),
|
m_hideOnWindowDeactivate(false),
|
||||||
m_outputOnly(false),
|
m_outputOnly(false),
|
||||||
m_componentComplete(false)
|
m_componentComplete(parent == 0)
|
||||||
{
|
{
|
||||||
QSurfaceFormat format;
|
QSurfaceFormat format;
|
||||||
format.setAlphaBufferSize(8);
|
format.setAlphaBufferSize(8);
|
||||||
|
Loading…
Reference in New Issue
Block a user