diff --git a/src/reader/reader.cpp b/src/reader/reader.cpp index f870efa..77da514 100644 --- a/src/reader/reader.cpp +++ b/src/reader/reader.cpp @@ -314,6 +314,12 @@ reader::reader(QWidget *parent) : ui->brightnessBtn->setVisible(true); ui->line_15->setVisible(true); } + else { + ui->brightnessBtn->setVisible(false); + ui->brightnessBtn->deleteLater(); + ui->line_15->setVisible(false); + ui->line_15->deleteLater(); + } ui->menuBarWidget->setVisible(false); ui->buttonsBarWidget->setVisible(false); ui->pdfScaleWidget->setVisible(false);