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

Change deprecated Qt::MidButton #153

Merged
merged 1 commit into from
Dec 10, 2020
Merged

Conversation

chapulina
Copy link
Contributor

I noticed some new warnings on macOS:

https://build.osrfoundation.org/job/ignition_gui-ci-pr_any-homebrew-amd64/709/clang/new/

'MidButton' is deprecated: MidButton is deprecated. Use MiddleButton instead

This is probably only showing on macOS because it uses a newer version of Qt.

In any case Qt::MiddleButton has been an alias for Qt::MidButton for a long time, since at least Qt4, so this should be a safe change on all platforms.

Signed-off-by: Louise Poubel <[email protected]>
@chapulina chapulina added the macOS macOS support label Dec 10, 2020
@github-actions github-actions bot added the 🏰 citadel Ignition Citadel label Dec 10, 2020
@codecov
Copy link

codecov bot commented Dec 10, 2020

Codecov Report

Merging #153 (c25b1fb) into ign-gui3 (322f872) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##           ign-gui3     #153   +/-   ##
=========================================
  Coverage     60.16%   60.16%           
=========================================
  Files            20       20           
  Lines          2500     2500           
=========================================
  Hits           1504     1504           
  Misses          996      996           
Impacted Files Coverage Δ
src/Conversions.cc 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 322f872...c25b1fb. Read the comment docs.

Copy link

@JShep1 JShep1 left a comment

Choose a reason for hiding this comment

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

💯

@chapulina chapulina merged commit 6f1dca7 into ign-gui3 Dec 10, 2020
@chapulina chapulina deleted the chapulina/middle_button branch December 10, 2020 21:21
@JShep1 JShep1 mentioned this pull request Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏰 citadel Ignition Citadel macOS macOS support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants