diff options
Diffstat (limited to 'src/dialogs/qquickabstractdialog.cpp')
-rw-r--r-- | src/dialogs/qquickabstractdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs/qquickabstractdialog.cpp b/src/dialogs/qquickabstractdialog.cpp index 005d1015..847fb697 100644 --- a/src/dialogs/qquickabstractdialog.cpp +++ b/src/dialogs/qquickabstractdialog.cpp @@ -295,7 +295,7 @@ int QQuickAbstractDialog::height() const void QQuickAbstractDialog::setX(int arg) { m_hasAspiredPosition = true; - m_sizeAspiration.setX(arg); + m_sizeAspiration.moveLeft(arg); if (helper()) { // TODO } else if (m_dialogWindow) { @@ -310,7 +310,7 @@ void QQuickAbstractDialog::setX(int arg) void QQuickAbstractDialog::setY(int arg) { m_hasAspiredPosition = true; - m_sizeAspiration.setY(arg); + m_sizeAspiration.moveTop(arg); if (helper()) { // TODO } else if (m_dialogWindow) { |