Make search field clear buttons follow icon size settings

This commit is contained in:
Jonas Kvinge
2020-06-29 01:09:02 +02:00
parent e747c2e263
commit 558e392234
6 changed files with 33 additions and 13 deletions

View File

@@ -167,6 +167,8 @@ QSearchField::QSearchField(QWidget *parent) : QWidget(parent) {
[pool drain];
}
void QSearchField::setIconSize(const int iconsize) {}
void QSearchField::setText(const QString &text) {
Q_ASSERT(pimpl);
if (!pimpl) return;