mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 21:51:25 -07:00
Revise string literal usage
This commit covers src/gui folder. PR #16757.
This commit is contained in:
parent
746fe7ba09
commit
75c93d72be
36 changed files with 275 additions and 280 deletions
|
@ -28,7 +28,7 @@ LineEdit::LineEdit(QWidget *parent)
|
|||
m_searchButton->setStyleSheet(u"QToolButton {border: none; padding: 2px;}"_qs);
|
||||
|
||||
// padding between text and widget borders
|
||||
setStyleSheet(QString::fromLatin1("QLineEdit {padding-left: %1px;}").arg(m_searchButton->sizeHint().width()));
|
||||
setStyleSheet(u"QLineEdit {padding-left: %1px;}"_qs.arg(m_searchButton->sizeHint().width()));
|
||||
|
||||
setClearButtonEnabled(true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue