Skip to content

Commit

Permalink
fmk - removing debug.log if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
fmckenna committed Oct 7, 2024
1 parent 4d2c881 commit 3b4af2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,16 @@ int main(int argc, char *argv[])
// full path to debug.log file
logFilePath = logFilePath + QDir::separator() + QString("debug.log");


//
// window scaling
//
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);


// remove old log file
// QFile debugFile(logFilePath);
// debugFile.remove();
QFile debugFile(logFilePath);
if (debugFile.exists())
debugFile.remove();

QApplication a(argc, argv);

Expand Down

0 comments on commit 3b4af2c

Please sign in to comment.