launcher: wire cancel->reject in C++; document glslang for Windows #663

Manually merged
github merged 1 commit from gh-pr/663/head into gh-pr/663/base 2026-11-26 09:28:34 +00:00
Owner

@⁠c0sxm0s on GitHub · 2026-09-17 11:03 UTC · original
c0sxm0s:uic-qt612-connections-fix → main · +2 −8 · 3 files · 1 commits · merged 2026-09-17 11:13 UTC

uic from Qt 6.12.0 crashes (0xC0000005) on any non-empty block in .ui files. Move the cancel_button -> reject connection from configuration_edit_dialog.ui into configurationEditDialog.cpp, matching how the other buttons are already connected there.

Also document the glslang (glslangValidator) requirement for Windows builds; CMake requires it via find_program(... REQUIRED).

**@⁠c0sxm0s** on GitHub · 2026-09-17 11:03 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/663) `c0sxm0s:uic-qt612-connections-fix` → `main` · +2 −8 · 3 files · 1 commits · merged 2026-09-17 11:13 UTC uic from Qt 6.12.0 crashes (0xC0000005) on any non-empty <connections> block in .ui files. Move the cancel_button -> reject connection from configuration_edit_dialog.ui into configurationEditDialog.cpp, matching how the other buttons are already connected there. Also document the glslang (glslangValidator) requirement for Windows builds; CMake requires it via find_program(... REQUIRED).
uic from Qt 6.12.0 crashes (0xC0000005) on any non-empty <connections>
block in .ui files. Move the cancel_button -> reject connection from
configuration_edit_dialog.ui into configurationEditDialog.cpp, matching
how the other buttons are already connected there.

Also document the glslang (glslangValidator) requirement for Windows
builds; CMake requires it via find_program(... REQUIRED).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:28:32 +00:00
github manually merged commit daa5b84e36 into gh-pr/663/base 2026-11-26 09:28:34 +00:00
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-09-17 11:06 UTC · original

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: c689d849-6fe4-49b9-8308-260de7fdcf4c

📥 Commits

Reviewing files that changed from the base of the PR and between ce629e0391 and daa5b84e36.

📒 Files selected for processing (3)
  • README.md
  • src/launcher/forms/configuration_edit_dialog.ui
  • src/launcher/src/configurationEditDialog.cpp
💤 Files with no reviewable changes (1)
  • src/launcher/forms/configuration_edit_dialog.ui

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The Windows build requirements now include glslangValidator on PATH. The configuration dialog removes the automatic Cancel-button connection from the UI file and adds a C++ connection from the Cancel button to QDialog::reject.

Suggested reviewers: nmzik

Priority: ⬇️ Low

Change: Bug fix

Merge Risk: ⚪ Minimal · up to daa5b

The Cancel action preserves rejected dialog behavior, and the documented Windows prerequisite matches the enforced build configuration.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 … Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes both primary changes: moving the Cancel-button connection into C++ and documenting the Windows glslangValidator requirement.
Description check ✅ Passed The description directly explains the Qt 6.12.0 uic workaround and the Windows glslangValidator documentation change.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 unsupported.)


Comment @coderabbitai help to get the list of available commands.

**@⁠coderabbitai[bot]** on GitHub · 2026-09-17 11:06 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/663#issuecomment-5713325779) <!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- review_stack_entry_start --> <a href="https://app.coderabbit.ai/change-stack/KytyPS5/KytyPS5/pull/663#gh-light-mode-only"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg" alt="Review Change Stack" width="202" height="32"></a><a href="https://app.coderabbit.ai/change-stack/KytyPS5/KytyPS5/pull/663#gh-dark-mode-only"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui-dark.svg" alt="Review Change Stack" width="202" height="32"></a> <!-- review_stack_entry_end --> <!-- recent_review_start --> No actionable comments were generated in the recent review. 🎉 <details> <summary>ℹ️ Recent review info</summary> <details> <summary>⚙️ Run configuration</summary> **Configuration used**: Path: .coderabbit.yaml **Review profile**: CHILL **Plan**: Advanced **Run ID**: `c689d849-6fe4-49b9-8308-260de7fdcf4c` </details> <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between ce629e03910cc58c0c3c39811a1b631d81ad81b5 and daa5b84e3645d9eec6da86e884c8330a9ef71d94. </details> <details> <summary>📒 Files selected for processing (3)</summary> * `README.md` * `src/launcher/forms/configuration_edit_dialog.ui` * `src/launcher/src/configurationEditDialog.cpp` </details> <details> <summary>💤 Files with no reviewable changes (1)</summary> * src/launcher/forms/configuration_edit_dialog.ui </details> **Included review availability:** Your plan provides up to 10 included reviews per hour; 9 remain after this review. </details> --- <!-- recent_review_end --> <!-- walkthrough_start --> <details> <summary>📝 Walkthrough</summary> ## Walkthrough The Windows build requirements now include `glslangValidator` on `PATH`. The configuration dialog removes the automatic Cancel-button connection from the UI file and adds a C++ connection from the Cancel button to `QDialog::reject`. **Suggested reviewers:** `nmzik` </details> <!-- walkthrough_end --> <!-- change_assessment_start --> **Priority:** ⬇️ Low <!-- change_assessment_commit:"daa5b84e3645d9eec6da86e884c8330a9ef71d94" --> **Change:** Bug fix <!-- change_assessment_end --> <!-- final_review_risk_start --> **Merge Risk:** _⚪ Minimal_ · up to `daa5b` <!-- final_review_risk_coverage:{"sourceCommitId":"daa5b84e3645d9eec6da86e884c8330a9ef71d94","coveredCommitId":"daa5b84e3645d9eec6da86e884c8330a9ef71d94","kind":"reviewed"} --> The Cancel action preserves rejected dialog behavior, and the documented Windows prerequisite matches the enforced build configuration. <!-- final_review_risk_end --> <!-- pre_merge_checks_walkthrough_start --> <details> <summary>🚥 Pre-merge checks | ✅ 4 | ❌ 1</summary> ### ❌ Failed checks (1 warning) | Check name | Status | Explanation | Resolution | | :----------------: | :--------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------- | | Docstring Coverage | ⚠️ Warning | Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 … | Write docstrings for the functions missing them to satisfy the coverage threshold. | <details> <summary>✅ Passed checks (4 passed)</summary> | Check name | Status | Explanation | | :------------------------: | :------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------- | | Title check | ✅ Passed | The title clearly summarizes both primary changes: moving the Cancel-button connection into C++ and documenting the Windows glslangValidator requirement. | | Description check | ✅ Passed | The description directly explains the Qt 6.12.0 uic workaround and the Windows glslangValidator documentation change. | | Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. | | Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. | </details> <details> <summary>Full details: Docstring Coverage</summary> **Explanation** Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 unsupported.) </details> </details> <!-- pre_merge_checks_walkthrough_end --> <!-- tips_start --> --- <sub>Comment `@coderabbitai help` to get the list of available commands.</sub> <!-- tips_end -->
This discussion has been locked. Commenting is limited to contributors.
No description provided.