Remove close buttons for find/filter now that the toolbars are togglable

This commit is contained in:
baldurk
2021-07-01 15:15:03 +01:00
parent 571fa835b2
commit cb669175c8
2 changed files with 0 additions and 31 deletions
-3
View File
@@ -2801,9 +2801,6 @@ EventBrowser::EventBrowser(ICaptureContext &ctx, QWidget *parent)
m_FilterTimeout->setSingleShot(true);
connect(m_FilterTimeout, &QTimer::timeout, this, &EventBrowser::filter_apply);
QObject::connect(ui->closeFind, &QToolButton::clicked, this, &EventBrowser::on_HideFind);
QObject::connect(ui->closeFilter, &QToolButton::clicked,
[this]() { ui->filter->setChecked(false); });
QObject::connect(ui->events, &RDTreeView::keyPress, this, &EventBrowser::events_keyPress);
QObject::connect(ui->events->selectionModel(), &QItemSelectionModel::currentChanged, this,
&EventBrowser::events_currentChanged);
-28
View File
@@ -286,20 +286,6 @@
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="closeFind">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../Resources/resources.qrc">
<normaloff>:/cross.png</normaloff>:/cross.png</iconset>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="findPrev">
<property name="text">
@@ -384,20 +370,6 @@
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="closeFilter">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../Resources/resources.qrc">
<normaloff>:/cross.png</normaloff>:/cross.png</iconset>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>