Qt/Search: Simplify placeholder text
A search box is a common UI element. We don't need to explicitly tell the user that they need to type a search term. Also, Let's use the common "Search <items>..." placeholder text instead and make the string shorter for localisation.
This commit is contained in:
parent
f7c9d2fd4d
commit
8d0c15bb97
|
@ -24,7 +24,7 @@ void SearchBar::CreateWidgets()
|
||||||
m_search_edit = new QLineEdit;
|
m_search_edit = new QLineEdit;
|
||||||
m_close_button = new QPushButton(tr("Close"));
|
m_close_button = new QPushButton(tr("Close"));
|
||||||
|
|
||||||
m_search_edit->setPlaceholderText(tr("Type your search term here"));
|
m_search_edit->setPlaceholderText(tr("Search games..."));
|
||||||
|
|
||||||
auto* layout = new QHBoxLayout;
|
auto* layout = new QHBoxLayout;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue