write debug log to file

This commit is contained in:
itsmattkc
2019-01-12 01:10:36 +11:00
parent ab02ecd3f7
commit 317d278fc5
3 changed files with 35 additions and 2 deletions
+5 -2
View File
@@ -94,9 +94,11 @@ void MainWindow::setup_layout(bool reset) {
MainWindow::MainWindow(QWidget *parent, const QString &an) :
QMainWindow(parent),
appName(an),
enable_launch_with_project(false)
enable_launch_with_project(false),
appName(an)
{
open_debug_file();
debug_dialog = new DebugDialog(this);
mainWindow = this;
@@ -227,6 +229,7 @@ MainWindow::MainWindow(QWidget *parent, const QString &an) :
MainWindow::~MainWindow() {
free_panels();
close_debug_file();
}
void MainWindow::launch_with_project(const QString& s) {