diff --git a/profiler_gui/blocks_graphics_view.cpp b/profiler_gui/blocks_graphics_view.cpp index 7514ee5..b795c37 100644 --- a/profiler_gui/blocks_graphics_view.cpp +++ b/profiler_gui/blocks_graphics_view.cpp @@ -1499,12 +1499,6 @@ void EasyGraphicsView::setScrollbar(EasyGraphicsScrollbar* _scrollbar) disconnect(m_pScrollbar, &EasyGraphicsScrollbar::valueChanged, this, &This::onGraphicsScrollbarValueChange); } - if(!_scrollbar) - { - qWarning() << "Zero pointer in EasyGraphicsView::setScrollbar(EasyGraphicsScrollbar*): " << __LINE__ << " in file " << __FILE__; - return; - } - m_pScrollbar = _scrollbar; m_pScrollbar->setMinimapFrom(0, nullptr); m_pScrollbar->hideChrono();