Browse Source

Fix a warning

Signed-off-by: falkTX <falktx@falktx.com>
pull/471/head
falkTX 7 months ago
parent
commit
5b7fe8dce7
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      .github/workflows/cmake.yml
  2. +1
    -1
      distrho/extra/WebViewImpl.cpp

+ 2
- 2
.github/workflows/cmake.yml View File

@@ -120,7 +120,7 @@ jobs:
- name: Show built files
working-directory: ${{runner.workspace}}/build/bin
run: tree
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: Win32 artifacts
path: ${{runner.workspace}}/build/bin/
@@ -158,7 +158,7 @@ jobs:
- name: Show built files
working-directory: ${{runner.workspace}}/build/bin
run: tree
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: Win64 artifacts
path: ${{runner.workspace}}/build/bin/

+ 1
- 1
distrho/extra/WebViewImpl.cpp View File

@@ -1734,7 +1734,7 @@ static bool qtwebengine(const int qtVersion,
}
};

wakeFn = [=, &eventFilter](WebViewRingBuffer* const rb){
wakeFn = [=, &eventFilter](WebViewRingBuffer*){
// NOTE event pointer is deleted by Qt
QEvent* const qevent = new QEvent;
QEvent__init(qevent, 1000 /* QEvent::User */);


Loading…
Cancel
Save