[Qt] When opening a combo-box the popup renders badly.
authorLuiz Agostini <luiz@webkit.org>
Mon, 23 May 2011 18:51:51 +0000 (18:51 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Mon, 23 May 2011 19:16:11 +0000 (16:16 -0300)
commit27c2c6c310671b7da63b14a866b0e058e40ede7b
treea21c5da936e8ad43363add0669584eaf03923479
parent8385385afbc582ce1fc3602d14f7d9e6753b96ea
[Qt] When opening a combo-box the popup renders badly.
https://bugs.webkit.org/show_bug.cgi?id=61288

Reviewed by Andreas Kling.

Removing combobox palette changes from QtFallbackWebPopup::show() because they
are causing rendering problems for some styles.

The changes in palette are not needed because the background and foreground
colors are already set by QStandardItem::setBackground() and QStandardItem::setForeground()
in method QtFallbackWebPopup::populate().

* WebCoreSupport/QtFallbackWebPopup.cpp:
(WebCore::QtFallbackWebPopup::show):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/qt/ChangeLog
Source/WebKit/qt/WebCoreSupport/QtFallbackWebPopup.cpp