Bug 488273 - Correct stdout errors generated when user selects Settings -> Configure Knights.
Summary: Correct stdout errors generated when user selects Settings -> Configure Knights.
Status: RESOLVED FIXED
Alias: None
Product: knights
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Mark Capella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-09 21:54 UTC by Mark Capella
Modified: 2024-06-17 21:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of the stdout errors. (798.60 KB, image/png)
2024-06-09 21:54 UTC, Mark Capella
Details
Patch lookahead (1.83 KB, patch)
2024-06-09 22:02 UTC, Mark Capella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Capella 2024-06-09 21:54:48 UTC
Created attachment 170303 [details]
Screenshot of the stdout errors.

SUMMARY
Errors in stdout point to bug caused by dissimilar consumers of common method addClicked()
in module enginesettings.cpp

STEPS TO REPRODUCE
1. Start knights from a terminal.
2. Select "Settings" from the menubar.
3.  Select "Configure Knights..." from the drop down.

OBSERVED RESULT
Error "edit: editing failed" appears three times in stdout.

EXPECTED RESULT
Clean stdout / code.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Mark Capella 2024-06-09 22:02:04 UTC
Created attachment 170305 [details]
Patch lookahead
Comment 2 Albert Astals Cid 2024-06-12 20:19:27 UTC
Please use https://invent.kde.org/games/knights/ to send patches :)
Comment 3 Albert Astals Cid 2024-06-17 21:56:43 UTC
Git commit 1a134169f0791afad470e84395336dc1b1a321e9 by Albert Astals Cid, on behalf of Mark Capella.
Committed on 17/06/2024 at 21:56.
Pushed by aacid into branch 'master'.

Fix warning when opening the Settings dialog

M  +15   -5    src/enginesettings.cpp
M  +3    -0    src/enginesettings.h

https://invent.kde.org/games/knights/-/commit/1a134169f0791afad470e84395336dc1b1a321e9