Skip to content

Commit 6cb76e8

Browse files
committed
Removed duplications and Unused methods
1 parent 6e18212 commit 6cb76e8

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

include/ui/main_window.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ class MainWindow : public QMainWindow {
3939

4040
private slots:
4141
void on_add_equation();
42-
void on_equation_changed();
4342
void on_config_changed(const graph::GraphConfig& config);
4443
void on_remove_equation();
4544
void on_clear_all_equations();

src/ui/graph_widget.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <QString>
1515
#include <cmath>
1616
#include <QPixmap>
17-
#include <QPainter>
1817

1918
namespace plot_genius {
2019
namespace ui {

src/ui/main_window.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,6 @@ void MainWindow::on_add_equation() {
234234
}
235235
}
236236

237-
void MainWindow::on_equation_changed() {
238-
m_graph_widget->update_graph();
239-
}
240-
241237
void MainWindow::on_remove_equation() {
242238
int row = m_equation_list->currentRow();
243239
if (row >= 0 && row < static_cast<int>(m_graph->get_equations().size())) {

0 commit comments

Comments
 (0)