Skip to content

Adapt to Qt 6.9 deprecations#2706

Merged
ctrlaltca merged 3 commits intokvirc:masterfrom
ctrlaltca:qt_69_deprecations
Jul 17, 2025
Merged

Adapt to Qt 6.9 deprecations#2706
ctrlaltca merged 3 commits intokvirc:masterfrom
ctrlaltca:qt_69_deprecations

Conversation

@ctrlaltca
Copy link
Contributor

No description provided.

}
m_currentType = Image;

#if (QT_VERSION < QT_VERSION_CHECK(6, 9, 0))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As small performance optimization, perhaps skip this altogether, if both directions are false?

Copy link
Contributor Author

@ctrlaltca ctrlaltca Jul 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When an user calls the "mirrored" method on an image he [[likely]] wants to flip it either horizontally or vertically. If both parameters are false this is just a noop (still, we could detect this at the beginning in the code and bail out early)

@ctrlaltca ctrlaltca merged commit 735c673 into kvirc:master Jul 17, 2025
4 of 5 checks passed
@ctrlaltca ctrlaltca deleted the qt_69_deprecations branch July 17, 2025 11:26
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.

2 participants