diff --git a/.vscode/settings.json b/.vscode/settings.json index 3348984..9ef7e98 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -81,5 +81,6 @@ "qcoreapplication": "cpp", "qcategoryaxis": "cpp", "qaction": "cpp" - } + }, + "files.autoGuessEncoding": true, } \ No newline at end of file diff --git a/mainwindow.cpp b/mainwindow.cpp index c98d73c..438e3d8 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -80,8 +80,6 @@ void MainWindow::construct_reg_table() { // // MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); - - // 构造传感器列表 construct_reg_table(); } diff --git a/src/main.cpp b/src/main.cpp index 0ded964..d1892e7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -22,7 +22,6 @@ #include "mainwindow.h" #define TAG "Main" - using namespace std; QT_CHARTS_USE_NAMESPACE int main(int argc, char *argv[]) {