added same selection colors for web line edit fields

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent f7dff3fb9d
commit 59fdccf0ce
  1. 5
      src/web/browser/WBUrlLineEdit.cpp

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

Loading…
Cancel
Save