fixing build errors
Are these only present on non-Windows computers?
This commit is contained in:
parent
9c2cf84983
commit
f227805b7f
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
#include <QCheckBox>
|
#include <QCheckBox>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QMouseEvent>
|
#include <QMouseEvent>
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
Editor::Editor(Ui::MainWindow* ui)
|
Editor::Editor(Ui::MainWindow* ui)
|
||||||
{
|
{
|
||||||
|
@ -249,7 +250,7 @@ void Editor::setConnectionEditControlsEnabled(bool enabled) {
|
||||||
ui->spinBox_ConnectionOffset->setEnabled(enabled);
|
ui->spinBox_ConnectionOffset->setEnabled(enabled);
|
||||||
|
|
||||||
if (!enabled) {
|
if (!enabled) {
|
||||||
setConnectionEditControlValues(false);
|
setConnectionEditControlValues(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue