Browse Source

fixing build errors

Are these only present on non-Windows computers?
garakmon 6 years ago
parent
commit
f227805b7f
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      editor.cpp

+ 2
- 1
editor.cpp View File

2
 #include <QCheckBox>
2
 #include <QCheckBox>
3
 #include <QPainter>
3
 #include <QPainter>
4
 #include <QMouseEvent>
4
 #include <QMouseEvent>
5
+#include <math.h>
5
 
6
 
6
 Editor::Editor(Ui::MainWindow* ui)
7
 Editor::Editor(Ui::MainWindow* ui)
7
 {
8
 {
249
     ui->spinBox_ConnectionOffset->setEnabled(enabled);
250
     ui->spinBox_ConnectionOffset->setEnabled(enabled);
250
 
251
 
251
     if (!enabled) {
252
     if (!enabled) {
252
-        setConnectionEditControlValues(false);
253
+        setConnectionEditControlValues(0);
253
     }
254
     }
254
 }
255
 }
255
 
256