Selaa lähdekoodia

fixing build errors

Are these only present on non-Windows computers?
garakmon 5 vuotta sitten
vanhempi
commit
f227805b7f
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2
    1
      editor.cpp

+ 2
- 1
editor.cpp Näytä tiedosto

@@ -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