mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: remove capture-all lambda clauses
These were forgotten the last time. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
35de9c49a4
commit
5e0ce206a0
3 changed files with 9 additions and 9 deletions
|
@ -1859,7 +1859,7 @@ void QMLManager::writeToAppLogFile(QString logText)
|
|||
|
||||
void QMLManager::setStatusbarColor(QColor color)
|
||||
{
|
||||
QtAndroid::runOnAndroidThread([=]() {
|
||||
QtAndroid::runOnAndroidThread([color]() {
|
||||
QAndroidJniObject window = QtAndroid::androidActivity().callObjectMethod("getWindow", "()Landroid/view/Window;");
|
||||
window.callMethod<void>("addFlags", "(I)V", FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
|
||||
window.callMethod<void>("clearFlags", "(I)V", FLAG_TRANSLUCENT_STATUS);
|
||||
|
@ -2094,7 +2094,7 @@ void QMLManager::setFilter(const QString filterText)
|
|||
// show that we are doing something, then do something in another thread in order not to block the UI
|
||||
QMetaObject::invokeMethod(qmlWindow, "showBusyAndDisconnectModel");
|
||||
QtConcurrent::run(QThreadPool::globalInstance(),
|
||||
[=]{
|
||||
[this,filterText]{
|
||||
DiveListSortModel::instance()->setFilter(filterText);
|
||||
CollapsedDiveListSortModel::instance()->updateFilterState();
|
||||
QMetaObject::invokeMethod(qmlWindow, "hideBusyAndConnectModel");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue