1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

SearchToolBar: Remove warning message that no results were found

This commit is contained in:
David Rosca 2019-03-22 14:00:38 +01:00
parent d729117adb
commit 63aa4028a4
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8
2 changed files with 0 additions and 13 deletions

View File

@ -57,7 +57,6 @@ void SearchToolBar::showMinimalInPopupWindow()
{
// Show only essentials widget + set minimum width
ui->caseSensitive->hide();
ui->results->hide();
ui->horizontalLayout->setSpacing(2);
ui->horizontalLayout->setContentsMargins(2, 6, 2, 6);
setMinimumWidth(260);
@ -129,11 +128,6 @@ void SearchToolBar::searchText(const QString &text)
if (ui->lineEdit->text().isEmpty())
found = true;
if (!found)
ui->results->setText(tr("No results found."));
else
ui->results->clear();
ui->lineEdit->setProperty("notfound", QVariant(!found));
ui->lineEdit->style()->unpolish(ui->lineEdit);
ui->lineEdit->style()->polish(ui->lineEdit);

View File

@ -94,13 +94,6 @@
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="results">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>