diff --git a/app/gui/oven_control/manualviewerdlg.cpp b/app/gui/oven_control/manualviewerdlg.cpp index db56179..d371493 100644 --- a/app/gui/oven_control/manualviewerdlg.cpp +++ b/app/gui/oven_control/manualviewerdlg.cpp @@ -14,9 +14,6 @@ ManualViewerDlg::ManualViewerDlg(QWidget *parent, uint32_t start) : m_nCurPage = start; if(m_nCurPage<1 || m_nCurPage > MAX_MANUAL_PAGE) m_nCurPage = 1; - - m_nCurPage =10; - //ui->ctrLbManual->setScaledContents(true); QPixmap image(QString("/prime/manual/manual-%1.png").arg(m_nCurPage,2,10,QLatin1Char('0'))); ui->ctrLbManual->setPixmap(image); diff --git a/app/gui/oven_control/manualviewerdlg.h b/app/gui/oven_control/manualviewerdlg.h index 3d0e8c9..bee82b2 100644 --- a/app/gui/oven_control/manualviewerdlg.h +++ b/app/gui/oven_control/manualviewerdlg.h @@ -3,14 +3,14 @@ #include -#define MAX_MANUAL_PAGE 60 -#define START_X 0 -#define START_Y 0 -#define SIZE_WIDTH 900 -#define SIZE_HEIGHT 1450 - -#define AUTO_COOK_PAGE 30 -#define MANUAL_COOK_PAGE 36 +#define MAX_MANUAL_PAGE 60 +#define START_X 0 +#define START_Y 0 +#define SIZE_WIDTH 900 +#define SIZE_HEIGHT 1450 + +#define AUTO_COOK_PAGE 36 +#define MANUAL_COOK_PAGE 30 namespace Ui { class ManualViewerDlg;