| 40 | #define BUILD_YEAR (__DATE__ + 7) |
| 41 | |
| 42 | MainWindow::MainWindow(const QString& project) : |
| 43 | ui(new Ui::MainWindow), |
| 44 | curEditor(nullptr), |
| 45 | code_checker(nullptr), |
| 46 | tmpDir(nullptr), |
| 47 | saveBeforeRunning(false), |
| 48 | processRunning(false) |
| 49 | { |
| 50 | init(project); |
| 51 | } |
| 52 | |
| 53 | MainWindow::MainWindow(const QStringList& files) : |
| 54 | ui(new Ui::MainWindow), |