mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-16 03:44:56 +02:00
gui/src/SearchWindow.cpp: Pass a pointer to m_ksearch in call to QtConocurrent::run()
It's not passed by reference otherwise. so it will copy the whole object.
This commit is contained in:
parent
a3be286579
commit
3cc6a2530e
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ void SearchWindow::search()
|
|||
m_ksearch.setThreadCount(m_num_threads.value());
|
||||
#endif /* EOSIOKEYGEN_HAVE_THREADS */
|
||||
|
||||
QFuture<void> future = QtConcurrent::run(m_ksearch, &eoskeygen::KeySearch::find, m_num_results.value());
|
||||
QFuture<void> future = QtConcurrent::run(&m_ksearch, &eoskeygen::KeySearch::find, m_num_results.value());
|
||||
m_worker.setFuture(future);
|
||||
|
||||
m_status.setText("Searching for: " + QString::fromStdString(eoskeygen::strlist::join(list, ", ")));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue