Fix mistyped enum values.

Please test as code using it might behave differently now (menus
aligned left before while horizontally centered on the parent now)
This commit is contained in:
Dennis Nienhüser 2012-05-08 23:44:26 +02:00
parent 804d490acd
commit 5453bbc801
3 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ Item {
function open()
{
var parent = root.visualParent ? root.visualParent : root.parent
var pos = dialog.popupPosition(parent, Qt.alignCenter)
var pos = dialog.popupPosition(parent, Qt.AlignCenter)
dialog.x = pos.x
dialog.y = pos.y

View File

@ -125,7 +125,7 @@ Item {
function open()
{
var pos = dialog.popupPosition(null, Qt.alignCenter)
var pos = dialog.popupPosition(null, Qt.AlignCenter)
dialog.x = pos.x
dialog.y = pos.y

View File

@ -137,7 +137,7 @@ Item {
function open()
{
var pos = dialog.popupPosition(null, Qt.alignCenter)
var pos = dialog.popupPosition(null, Qt.AlignCenter)
dialog.x = pos.x
dialog.y = pos.y