mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-29 17:45:25 +02:00
Fix search edit context menu weird color
This commit is contained in:
parent
81da93a302
commit
844e09c40e
|
|
@ -104,10 +104,11 @@ game_list_frame::game_list_frame(std::shared_ptr<gui_settings> settings, const R
|
||||||
|
|
||||||
// Search Bar
|
// Search Bar
|
||||||
m_Search_Bar = new QLineEdit(m_Tool_Bar);
|
m_Search_Bar = new QLineEdit(m_Tool_Bar);
|
||||||
|
m_Search_Bar->setObjectName("tb_searchbar");
|
||||||
m_Search_Bar->setPlaceholderText(tr("Search games ..."));
|
m_Search_Bar->setPlaceholderText(tr("Search games ..."));
|
||||||
m_Search_Bar->setMinimumWidth(m_Tool_Bar->height() * 5);
|
m_Search_Bar->setMinimumWidth(m_Tool_Bar->height() * 5);
|
||||||
m_Search_Bar->setFrame(false);
|
m_Search_Bar->setFrame(false);
|
||||||
m_Search_Bar->setStyleSheet("background:transparent;");
|
m_Search_Bar->setStyleSheet("QLineEdit#tb_searchbar { background: transparent }");
|
||||||
connect(m_Search_Bar, &QLineEdit::textChanged, [this](const QString& text) {
|
connect(m_Search_Bar, &QLineEdit::textChanged, [this](const QString& text) {
|
||||||
m_searchText = text;
|
m_searchText = text;
|
||||||
Refresh();
|
Refresh();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue