Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qt: Expose branding color #670

Merged
merged 1 commit into from
Dec 7, 2024
Merged

Conversation

CarlSchwan
Copy link
Contributor

No description provided.

@aleixpol
Copy link
Collaborator

Note this breaks the FreeBSD CI because the forward declaration is by class rather than struct.

I'd pass this values as QStringView rather than QString when possible (not that it matters much, most of these APIs will be unused).

qt/branding.h Outdated Show resolved Hide resolved
qt/branding.cpp Outdated Show resolved Hide resolved
qt/branding.cpp Outdated Show resolved Hide resolved
@CarlSchwan CarlSchwan force-pushed the work/carl/branding-qt branch from 8e9ab6f to e821aec Compare November 5, 2024 14:44
@CarlSchwan
Copy link
Contributor Author

Note this breaks the FreeBSD CI because the forward declaration is by class rather than struct.

I'd pass this values as QStringView rather than QString when possible (not that it matters much, most of these APIs will be unused).

QStringView doesn't have a qPrintable overload, so not really worth it.

@ximion ximion merged commit de534e9 into ximion:main Dec 7, 2024
10 checks passed
@ximion
Copy link
Owner

ximion commented Dec 7, 2024

Thanks! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants