Skip to content

Conversation

@TheOneRing
Copy link
Contributor

No description provided.

@TheOneRing TheOneRing linked an issue May 12, 2025 that may be closed by this pull request
@TheOneRing TheOneRing requested a review from Copilot May 13, 2025 16:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces an OCUtils singleton utility class to expose Qt version information and comparison functionality to QML, enabling native tooltips when the Qt version is greater than 6.8.3.

  • Adds the OCUtils class with a qVersion property and compareQVersion method in qmlutils.h and qmlutils.cpp.
  • Updates AccountBar.qml to conditionally enable native tooltip popup based on the Qt version.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/gui/qmlutils.h Adds the OCUtils singleton with version properties and methods.
src/gui/qmlutils.cpp Implements the qVersion and compareQVersion functions.
src/gui/qml/AccountBar.qml Uses the compareQVersion method to enable native tooltips conditionally.

@TheOneRing TheOneRing force-pushed the work/native_tooltip branch from f730ad1 to b2b00d8 Compare May 19, 2025 12:08
@TheOneRing TheOneRing changed the title Enable native tooltips for the accounts on Qt > 6.8.3 Enable native tooltips for the accounts on Qt >= 6.8.3 May 19, 2025
@TheOneRing TheOneRing enabled auto-merge (rebase) May 19, 2025 12:08
@TheOneRing TheOneRing merged commit 07bb806 into main May 19, 2025
3 checks passed
@TheOneRing TheOneRing deleted the work/native_tooltip branch May 19, 2025 12:28
@openclouders openclouders mentioned this pull request May 15, 2025
1 task
@openclouders openclouders mentioned this pull request Jun 12, 2025
1 task
@openclouders openclouders mentioned this pull request Jun 25, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Qt 6.8.3 or later. Re-enable native tooltips

2 participants