-
Notifications
You must be signed in to change notification settings - Fork 821
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
PageView cleanup #4792
PageView cleanup #4792
Conversation
Layer* layer = this->page->getSelectedLayer(); | ||
const Layer::Index layerId = this->page->getSelectedLayerId(); | ||
const bool isBackgroundLayer = (layerId == 0); |
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.
Dead code ?? Are there any side effects of those lines? I think it safe to remove. layer
, layerId
, and isBackgroundLayer
is not used.
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.
They can be removed indeed. It looks like I forgot to remove those lines in #4673.
823041d
to
7a1a629
Compare
7a1a629
to
1a2940e
Compare
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.
Just a minor nitpick. Otherwise this looks good to me.
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.
Thanks @jhilmer !
Merging in 24 hours if no objections are raised.
No description provided.