Commit bf21a764 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Adjust menu appearance position so that it doesn't look orphaned

parent d2945886
......@@ -94,5 +94,7 @@ void QuickOpenLineEdit::resizeEvent(QResizeEvent*)
void QuickOpenLineEdit::openMenu()
int y = pos().y() + height();
int x = pos().x() + width() - m_menu->sizeHint().width();
m_menu->exec(mapToGlobal(QPoint(x, y)));
Supports Markdown
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