libs: always adjust the size of the internal Plasma::WidgetExplorer widget

requires the following commit from kdelibs:
581fe4066a64e7c6ce241bfbd6c50f3d041d3c62

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-09-15 04:29:52 +03:00
parent 1dc79c3ddf
commit 22fae391ae

View file

@ -483,11 +483,7 @@ void WidgetExplorerPrivate::filterApplets(const QString &text)
// kdelibs/kdeui/findreplace/kfind.cpp
text.isEmpty() ? i18n("No applets found.") : i18n("<qt>No matches found for '<b>%1</b>'.</qt>", text)
);
if (hasapplets) {
appletsWidget->adjustSize();
} else {
appletsWidget->resize(scrollWidget->size());
}
appletsWidget->adjustSize();
}
void WidgetExplorerPrivate::updateOrientation(const Qt::Orientation orientation)