diff --git a/ui/src/main_window.cxx b/ui/src/main_window.cxx index f328606..5640218 100644 --- a/ui/src/main_window.cxx +++ b/ui/src/main_window.cxx @@ -21,9 +21,4 @@ void PROJECTNAME::updateView() { m_ui->viewport->setView(args); } -void PROJECTNAME::updateViewIf(bool update) { - if (update) - updateView(); -} - #include "moc_main_window.cpp" diff --git a/ui/src/main_window.hxx b/ui/src/main_window.hxx index 1b75e58..13edb16 100644 --- a/ui/src/main_window.hxx +++ b/ui/src/main_window.hxx @@ -16,7 +16,6 @@ public: public slots: void updateView(); - void updateViewIf(bool update); // for radio buttons private: const std::unique_ptr m_ui;