Skip to content
Snippets Groups Projects

merge fcts, rm unused fcts, etc

Merged Wuttke, Joachim requested to merge j.0 into main
1 file
+ 3
4
Compare changes
  • Side-by-side
  • Inline
@@ -128,10 +128,9 @@ void CentralWidget::updateViews(bool open)
return;
for (auto* button : m_view_selection_buttons->buttons())
button->setEnabled(true);
auto* filler =
m_view_selection_buttons_layout->itemAt(m_view_selection_buttons->buttons().size());
if (filler)
if (auto* fillerBtn = dynamic_cast<QToolButton*>(filler->widget()); fillerBtn)
if (auto* filler =
m_view_selection_buttons_layout->itemAt(m_view_selection_buttons->buttons().size()))
if (auto* fillerBtn = dynamic_cast<QToolButton*>(filler->widget()))
fillerBtn->setEnabled(true);
}
Loading