App::I static singleton to pointer

This commit is contained in:
2019-07-11 18:08:17 +02:00
parent 92dd00d910
commit b89274e7a6
33 changed files with 417 additions and 412 deletions

View File

@@ -75,7 +75,7 @@ void LogRemote::net_close()
void LogRemote::file_init()
{
if (!m_logfile.is_open())
m_logfile.open(App::I.data_path + "/panopainter-log.txt");
m_logfile.open(App::I->data_path + "/panopainter-log.txt");
}
void LogRemote::file_close()
{