Repository navigation
launch: Fix WebEngineView crash from empty arguments - #1520
Open
gavinomelia wants to merge 1 commit into
Open
gavinomelia wants to merge 1 commit into
gavinomelia wants to merge 1 commit into
Conversation
|
I have the same |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes
The Qt application was being created with no arguments. This meant that trying to use a WebEngineView in a Quickshell config would cause the whole Quickshell process to crash with
FATAL: Argument list is empty. This is because the QtWebEngine requires the program name.This change just passes through the name and is consistent with what is being done elsewhere (see
src/launch/command.cpp:587-588.Fixes #1393
Details and descisions
I think the decisions here should be relatively self-explanatory as this is a one-line change.
Participation
I care. Thanks for taking the time to review things and contribute to the open-source community.