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

title_editor.py: Don't import unused QWebView #2171

Merged
merged 1 commit into from
Sep 30, 2018

Conversation

ferdnyc
Copy link
Contributor

@ferdnyc ferdnyc commented Sep 30, 2018

So, turns out src/windows/title_editor.py was importing QWebView from PyQt5.QtWebKitWidgets.

"But the title editor doesn't have any web components!" I hear you cry.

Well-spotted. And that's why src/windows/title_editor.py shouldn't be importing anything from PyQt5.QtWebKitWidgets.

So, after this change, PyQt5.QtWebKitWidgets will only appear at one place in the source: an import statement at the top of src/windows/views/timeline_webview.py. As it should be.

@ferdnyc ferdnyc mentioned this pull request Sep 30, 2018
@DylanC
Copy link
Collaborator

DylanC commented Sep 30, 2018

@ferdnyc - Excellent! Thanks. 👍

@DylanC DylanC merged commit 973d647 into OpenShot:develop Sep 30, 2018
@ferdnyc ferdnyc deleted the title-editor-nowebkit branch October 1, 2018 03:32
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