[TD] Gui: remove some superfluous nullptr checks
This commit is contained in:
@@ -85,7 +85,7 @@ void QGVNavStyle::initialize()
|
||||
|
||||
void QGVNavStyle::setAnchor()
|
||||
{
|
||||
if (m_viewer != nullptr) {
|
||||
if (m_viewer) {
|
||||
if (zoomAtCursor) {
|
||||
m_viewer->setResizeAnchor(QGraphicsView::AnchorUnderMouse);
|
||||
m_viewer->setTransformationAnchor(QGraphicsView::AnchorUnderMouse);
|
||||
|
||||
Reference in New Issue
Block a user