diff --git a/LedOK/device/ctrlbrightpanel.cpp b/LedOK/device/ctrlbrightpanel.cpp index 7c8ae7f..3c76d50 100644 --- a/LedOK/device/ctrlbrightpanel.cpp +++ b/LedOK/device/ctrlbrightpanel.cpp @@ -360,7 +360,7 @@ CtrlBrightPanel::CtrlBrightPanel(QWidget *parent) : QWidget(parent) { QMessageBox::information(this, tr("Tip"), tr("no sensorBrightnessTable")); return; } - QString tempFile = QCoreApplication::applicationDirPath()+"/bright-template.xlsx"; + QString tempFile = QCoreApplication::applicationDirPath()+"/files/bright-template.xlsx"; QFile tempQFile(tempFile); if(! tempQFile.exists()) { QMessageBox::information(this, tr("Tip"), tempFile+" is not exist"); diff --git a/LedOK/files/bright-template.xlsx b/LedOK/files/bright-template.xlsx new file mode 100644 index 0000000..7140096 Binary files /dev/null and b/LedOK/files/bright-template.xlsx differ