From 1787c7d730f582ba57fd64475a16dcfaf629822c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Althviz=20Mor=C3=A9?= <16781833+dalthviz@users.noreply.github.com> Date: Fri, 24 Nov 2023 15:40:57 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Carlos Cordoba --- qtawesome/icon_browser.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qtawesome/icon_browser.py b/qtawesome/icon_browser.py index 923098ec..fcff5c64 100644 --- a/qtawesome/icon_browser.py +++ b/qtawesome/icon_browser.py @@ -63,8 +63,8 @@ def __init__(self): # Filter section self._comboFont = QtWidgets.QComboBox(self) self._comboFont.setToolTip( - "Select the fonts prefix which icons will " - "be included in the filtering" + "Select the font prefix whose icons will " + "be included in the filtering." ) self._comboFont.setMaximumWidth(75) self._comboFont.addItems([ALL_COLLECTIONS] + sorted(fontMaps.keys())) @@ -87,7 +87,7 @@ def __init__(self): # Icon name section self._nameField = QtWidgets.QLineEdit(self) - self._nameField.setToolTip( + self._nameField.setPlaceholderText( "Full identifier of the currently selected icon" ) self._nameField.setAlignment(QtCore.Qt.AlignCenter)