1
0
mirror of https://github.com/altlinux/admc.git synced 2024-10-26 17:25:38 +03:00

Revert "tentative fix to crash in find widget"

This reverts commit f672be5c53.
This commit is contained in:
Dmitry Degtyarev 2022-02-10 15:21:22 +04:00
parent ffb244a693
commit 690be1a128
2 changed files with 2 additions and 7 deletions

View File

@ -168,8 +168,7 @@ void FindWidget::find() {
connect(
find_thread, &SearchThread::results_ready,
this, &FindWidget::handle_find_thread_results,
Qt::QueuedConnection);
this, &FindWidget::handle_find_thread_results);
connect(
this, &QObject::destroyed,
find_thread, &SearchThread::stop);
@ -187,8 +186,7 @@ void FindWidget::find() {
ui->clear_button->setEnabled(true);
hide_busy_indicator();
},
Qt::QueuedConnection);
});
show_busy_indicator();

View File

@ -33,9 +33,6 @@
* finished.
*/
// NOTE: use Qt::QueuedConnection when connecting to
// thread's signals from another thread
#include <QThread>
#include "ad_defines.h"