add pressure control flag on size and flow, change data directory in OSX to Documents
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "pch.h"
|
||||
#include "log.h"
|
||||
#include "app.h"
|
||||
|
||||
LogRemote LogRemote::I;
|
||||
|
||||
@@ -71,7 +72,7 @@ void LogRemote::net_close()
|
||||
void LogRemote::file_init()
|
||||
{
|
||||
if (!m_logfile.is_open())
|
||||
m_logfile.open("log.txt");
|
||||
m_logfile.open(App::I.data_path + "/panopainter-log.txt");
|
||||
}
|
||||
void LogRemote::file_close()
|
||||
{
|
||||
@@ -130,4 +131,4 @@ LogRemote::~LogRemote()
|
||||
m_mq.UnlockGetters();
|
||||
if (m_thread.joinable())
|
||||
m_thread.join();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user