From 844e09c40eefcacaf5c8cc2548ec166b44bcbaea Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Mon, 14 Aug 2017 01:52:20 +0200 Subject: [PATCH] Fix search edit context menu weird color --- rpcs3/rpcs3qt/game_list_frame.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpcs3/rpcs3qt/game_list_frame.cpp b/rpcs3/rpcs3qt/game_list_frame.cpp index 7c677bbbbd..16f0e5cb4a 100644 --- a/rpcs3/rpcs3qt/game_list_frame.cpp +++ b/rpcs3/rpcs3qt/game_list_frame.cpp @@ -104,10 +104,11 @@ game_list_frame::game_list_frame(std::shared_ptr settings, const R // Search 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->setMinimumWidth(m_Tool_Bar->height() * 5); 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) { m_searchText = text; Refresh();