drop updateViewIf()

it is useless, radio button groups have the signal actually needed
This commit is contained in:
numzero 2026-10-25 13:28:34 +03:00
parent 96c75c3571
commit ad47769e46
2 changed files with 0 additions and 6 deletions

View File

@ -21,9 +21,4 @@ void PROJECTNAME::updateView() {
m_ui->viewport->setView(args); m_ui->viewport->setView(args);
} }
void PROJECTNAME::updateViewIf(bool update) {
if (update)
updateView();
}
#include "moc_main_window.cpp" #include "moc_main_window.cpp"

View File

@ -16,7 +16,6 @@ public:
public slots: public slots:
void updateView(); void updateView();
void updateViewIf(bool update); // for radio buttons
private: private:
const std::unique_ptr<Ui::MainWindow> m_ui; const std::unique_ptr<Ui::MainWindow> m_ui;