diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 6fb5b899..12bbdd6f 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -127,7 +127,7 @@ void MainWindow::initWindow() { ui->actionCheck_for_Updates->setVisible(false); #endif -#ifdef QT_CHARTS_LIB +#ifndef QT_CHARTS_LIB ui->pushButton_SummaryChart->setVisible(false); #endif