Add missing const

This commit is contained in:
David Edmundson 2014-02-05 20:04:23 +01:00
parent e69179e42e
commit 3bbda089ed

View File

@ -296,7 +296,7 @@ QPoint DialogProxy::popupPosition(QQuickItem *item, const QSize &size, Qt::Align
//we do not rely on item->window()->screen() because
//QWindow::screen() is always only the screen where the window gets first created
//not actually the current window. See QWindow::screen() documentation
QRect avail = screenForItem(item)->availableGeometry();
const QRect avail = screenForItem(item)->availableGeometry();
const int leftMargin = m_frameSvgItem->margins()->left();
const int rightMargin = m_frameSvgItem->margins()->right();