mirror of
https://github.com/altlinux/admc.git
synced 2024-10-27 01:55:37 +03:00
Revert "tentative fix to crash in find widget"
This reverts commit f672be5c53
.
This commit is contained in:
parent
ffb244a693
commit
690be1a128
@ -168,8 +168,7 @@ void FindWidget::find() {
|
|||||||
|
|
||||||
connect(
|
connect(
|
||||||
find_thread, &SearchThread::results_ready,
|
find_thread, &SearchThread::results_ready,
|
||||||
this, &FindWidget::handle_find_thread_results,
|
this, &FindWidget::handle_find_thread_results);
|
||||||
Qt::QueuedConnection);
|
|
||||||
connect(
|
connect(
|
||||||
this, &QObject::destroyed,
|
this, &QObject::destroyed,
|
||||||
find_thread, &SearchThread::stop);
|
find_thread, &SearchThread::stop);
|
||||||
@ -187,8 +186,7 @@ void FindWidget::find() {
|
|||||||
ui->clear_button->setEnabled(true);
|
ui->clear_button->setEnabled(true);
|
||||||
|
|
||||||
hide_busy_indicator();
|
hide_busy_indicator();
|
||||||
},
|
});
|
||||||
Qt::QueuedConnection);
|
|
||||||
|
|
||||||
show_busy_indicator();
|
show_busy_indicator();
|
||||||
|
|
||||||
|
@ -33,9 +33,6 @@
|
|||||||
* finished.
|
* finished.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// NOTE: use Qt::QueuedConnection when connecting to
|
|
||||||
// thread's signals from another thread
|
|
||||||
|
|
||||||
#include <QThread>
|
#include <QThread>
|
||||||
|
|
||||||
#include "ad_defines.h"
|
#include "ad_defines.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user