Skip to content

Commit

Permalink
Toggle ui if headsetcontrol fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Odizinne committed Aug 16, 2024
1 parent b7b16f6 commit 8c8ad54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ jobs:
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: HeadsetControl-Qt_linux_64.zip
asset_path: HeadsetControl-Qt
asset_name: HeadsetControl-Qt_linux_64.zip
asset_content_type: application/octet-stream
env:
Expand Down
2 changes: 2 additions & 0 deletions src/HeadsetControlQt/headsetcontrolqt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,13 @@ void HeadsetControlQt::updateHeadsetInfo()

if (!process.waitForStarted()) {
qDebug() << "Failed to start process:" << process.errorString();
noDeviceFound();
return;
}

if (!process.waitForFinished()) {
qDebug() << "Process did not finish successfully:" << process.errorString();
noDeviceFound();
return;
}

Expand Down

0 comments on commit 8c8ad54

Please sign in to comment.