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