diff --git a/common/lc_model.cpp b/common/lc_model.cpp index 0b4d5013..d5fbb4f6 100644 --- a/common/lc_model.cpp +++ b/common/lc_model.cpp @@ -1,5 +1,6 @@ #include "lc_global.h" #include "lc_model.h" +#include #include "piece.h" #include "camera.h" #include "light.h" diff --git a/qt/lc_qimagedialog.cpp b/qt/lc_qimagedialog.cpp index d96cd041..5cc6fc55 100644 --- a/qt/lc_qimagedialog.cpp +++ b/qt/lc_qimagedialog.cpp @@ -57,7 +57,7 @@ void lcQImageDialog::accept() return; } - int start, end; + int start = currentStep, end = currentStep; if (ui->rangeAll->isChecked()) {