Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Force the history completer to be LTR: same as the url line.
  • Loading branch information
elcuco authored and icefox committed Sep 25, 2009
1 parent e84d713 commit aa2b302
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/history/historycompleter.cpp
Expand Up @@ -37,6 +37,9 @@ HistoryCompletionView::HistoryCompletionView(QWidget *parent)

QFontMetrics metrics = fontMetrics();
verticalHeader()->setDefaultSectionSize(metrics.height());

// As URLs are always LRT, this should be LRT as well
setLayoutDirection(Qt::LeftToRight);
}

void HistoryCompletionView::resizeEvent(QResizeEvent *event)
Expand Down

0 comments on commit aa2b302

Please sign in to comment.