drop updateViewIf()
it is useless, radio button groups have the signal actually needed
This commit is contained in:
parent
96c75c3571
commit
ad47769e46
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user