8000 Fix about dialog on Qt 5 by estan · Pull Request #6124 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Fix about dialog on Qt 5 #6124

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

Merged
merged 1 commit into from
Mar 7, 2016
Merged

Conversation

estan
Copy link
Contributor
@estan estan commented Mar 7, 2016

QMessageBox is in QtWidgets, not QtGui.

@@ -117,7 +117,7 @@ def closeEvent(self, ce):
self.fileQuit()

def about(self):
QtGui.QMessageBox.about(self, "About",
QtWidgets.QMessageBox.about(self, "About",
"""embedding_in_qt5.py example
Copy link
Member

Choose a reason for hiding this comment

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

This line needs to be re-aligned with the opening parentheses above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, sorry about that. Commit updated. I also removed the now unused import of QtGui.

QMessageBox is in QtWidgets, not QtGui.
@estan estan force-pushed the qt5-example-fixes branch from f3c475c to b0112a4 Compare March 7, 2016 09:29
tacaswell added a commit that referenced this pull request Mar 7, 2016
@tacaswell tacaswell merged commit 6ea5e35 into matplotlib:master Mar 7, 2016
@tacaswell
Copy link
Member

👍 Thanks

tacaswell added a commit that referenced this pull request Mar 7, 2016
@tacaswell
Copy link
Member

backported to v1.5.1-doc as 20db6a0

@QuLogic QuLogic added this to the 1.5.2 (Critical bug fix release) milestone Mar 7, 2016
bearstrong pushed a commit to bearstrong/matplotlib that referenced this pull request Apr 1, 2016
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.

4 participants
0