Kaynağa Gözat

fixing build errors

Are these only present on non-Windows computers?
garakmon 5 yıl önce
ebeveyn
işleme
f227805b7f
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2
    1
      editor.cpp

+ 2
- 1
editor.cpp Dosyayı Görüntüle

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