Commit 3005f284 authored by hjk's avatar hjk
Browse files

Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline

parents 634edf2a b3445ab6
......@@ -260,9 +260,9 @@ void CompletionWidget::updatePositionAndSize(int startPos)
const QRect cursorRect = m_editor->cursorRect(startPos);
const QDesktopWidget *desktop = QApplication::desktop();
#ifdef Q_OS_MAC
const QRect screen = desktop->availableGeometry(desktop->screenNumber(this));
const QRect screen = desktop->availableGeometry(desktop->screenNumber(m_editorWidget));
#else
const QRect screen = desktop->screenGeometry(desktop->screenNumber(this));
const QRect screen = desktop->screenGeometry(desktop->screenNumber(m_editorWidget));
#endif
QPoint pos = cursorRect.bottomLeft();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment