Commit d0705822 authored by Milian Wolff's avatar Milian Wolff

Set toolbar/toolbutton font on quickopen line edit

Summary:
The quickopen line edit is shown in the toolbar and thus should
follow the font style of the other tool bar actions. So far,
it did not do that. Now we manually force the toolbar font to
ensure the font style is homogeneous.

Subscribers: kdevelop-devel

Differential Revision: https://phabricator.kde.org/D9481
parent 71d6cb98
......@@ -930,6 +930,7 @@ QuickOpenLineEdit::QuickOpenLineEdit(QuickOpenWidgetCreator* creator) : m_widget
, m_forceUpdate(false)
, m_widgetCreator(creator)
{
setFont(qApp->font("QToolButton"));
setMinimumWidth(200);
setMaximumWidth(400);
......
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