-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Extract TemplatesMenu class from MainWindow #5125
Extract TemplatesMenu class from MainWindow #5125
Conversation
@lukas-w Can I ask you to take a look at this? |
ae95380
to
8fb20c0
Compare
@lukas-w Thank you for the review! I have addressed your comments. Can you please take another look? |
Thanks. Please avoid force-pushing to make the review process easier. We can squash commits later when merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's inconsistent indentation in TemplatesMenu.h
and TemplatesMenu.cpp
. Please check that you use one tab for indentation everywhere.
Sorry, I will try to remember in the future. Just out of curiosity—can you explain how it makes reviews harder?
Thank you for catching this! 👍 It should be fixed now. I must say I can't wait for #4690. @lukas-w Can I ask you for yet another look please? 😃 |
If you don't force push but add new changes as additional commits, I can easily see what changes you made since I last viewed the PR. |
@lukas-w Are you aware that even with force push, you can click the Also I see you approve already but the |
@lukas-w Please let me know if I can do anything to get this finished 😃 |
Just need to find time for testing (unless someone beats me to it). |
m_templatesMenu doesn't need to be a member because it's only used once in finalize().
Made one more minor change via ebf6b92, merging. Thanks @winniehell 👍 |
Thank you @lukas-w! 🙇♂️ |
Extracts the logic for the project template menu from MainWindow into a new class.
This does not change or add functionality. It's mainly intended to reduce the size of MainWindow and allow extracting the toolbar logic in the long term.