forked from qt-creator/qt-creator
QmlDesigner: Fix for Binding Editor launch pos
Task: QDS-1418 Change-Id: Id0c051d7187648a1477de70769fb7a47363ccdeb Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -79,14 +79,19 @@ BindingEditorDialog::~BindingEditorDialog()
|
||||
delete m_verticalLayout;
|
||||
}
|
||||
|
||||
void BindingEditorDialog::showWidget(int x, int y)
|
||||
void BindingEditorDialog::showWidget()
|
||||
{
|
||||
this->show();
|
||||
this->raise();
|
||||
move(QPoint(x, y));
|
||||
m_editorWidget->setFocus();
|
||||
}
|
||||
|
||||
void BindingEditorDialog::showWidget(int x, int y)
|
||||
{
|
||||
showWidget();
|
||||
move(QPoint(x, y));
|
||||
}
|
||||
|
||||
QString BindingEditorDialog::editorValue() const
|
||||
{
|
||||
if (!m_editorWidget)
|
||||
|
||||
Reference in New Issue
Block a user