Commit 59fdccf0 authored by Claudio Valerio's avatar Claudio Valerio

added same selection colors for web line edit fields

parent f7dff3fb
......@@ -58,6 +58,8 @@
#include "WBSearchLineEdit.h"
#include "WBWebView.h"
#include "globals/UBGlobals.h"
#include <QtGui>
#include "core/memcheck.h"
......@@ -68,7 +70,8 @@ WBExLineEdit::WBExLineEdit(QWidget *parent)
, mLineEdit(new QLineEdit(this))
, mClearButton(0)
{
setFocusPolicy(mLineEdit->focusPolicy());
SET_STYLE_SHEET();
setFocusPolicy(mLineEdit->focusPolicy());
setAttribute(Qt::WA_InputMethodEnabled);
setSizePolicy(mLineEdit->sizePolicy());
setBackgroundRole(mLineEdit->backgroundRole());
......
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