[us-commits] [ehb54/ultrascan3] 227538: SOMO: cast vector<bool> element for QString::arg (...
emre brookes
noreply at github.com
Sat Jul 4 21:52:40 MDT 2026
Branch: refs/heads/ehb54-issue-943
Home: https://github.com/ehb54/ultrascan3
Commit: 2275387bc411645b32c8aea397106c307aadceec
https://github.com/ehb54/ultrascan3/commit/2275387bc411645b32c8aea397106c307aadceec
Author: ehb54 <brookes at uthscsa.edu>
Date: 2026-07-04 (Sat, 04 Jul 2026)
Changed paths:
M us_somo/develop/src/us_hydrodyn_saxs_screen.cpp
Log Message:
-----------
SOMO: cast vector<bool> element for QString::arg (Qt6)
use_chi2s is vector<vector<bool>>; QString("%1").arg(use_chi2s[i][j]) passes a
std::vector<bool>::reference proxy, which Qt6's stricter arg() template rejects
(Qt5 promoted it to int). Add an explicit (int) cast — portable across Qt5/Qt6.
Refs ehb54/ultrascan-tickets#943
Co-Authored-By: Claude Opus 4.8 <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/ehb54/ultrascan3/settings/notifications
More information about the us-commits
mailing list