Browse Source

Merge pull request #58 from garakmon/master

macOS build fixes
Marcus Huderle 6 years ago
parent
commit
9b44850f28
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      editor.cpp

+ 2
- 1
editor.cpp View File

3
 #include <QCheckBox>
3
 #include <QCheckBox>
4
 #include <QPainter>
4
 #include <QPainter>
5
 #include <QMouseEvent>
5
 #include <QMouseEvent>
6
+#include <math.h>
6
 
7
 
7
 bool selectingEvent = false;
8
 bool selectingEvent = false;
8
 
9
 
255
     ui->spinBox_ConnectionOffset->setEnabled(enabled);
256
     ui->spinBox_ConnectionOffset->setEnabled(enabled);
256
 
257
 
257
     if (!enabled) {
258
     if (!enabled) {
258
-        setConnectionEditControlValues(false);
259
+        setConnectionEditControlValues(0);
259
     }
260
     }
260
 }
261
 }
261
 
262