mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
add dedicated method to get logs path
This commit is contained in:
committed by
Andrii Danylchenko
parent
03b4ea71ba
commit
99af5bbe4c
@@ -28,7 +28,7 @@ void MainWindow::load()
|
||||
QDir::setCurrent(QApplication::applicationDirPath());
|
||||
|
||||
console = new CConsoleHandler();
|
||||
CBasicLogConfigurator logConfig(VCMIDirs::get().userCachePath() / "VCMI_Launcher_log.txt", console);
|
||||
CBasicLogConfigurator logConfig(VCMIDirs::get().userLogsPath() / "VCMI_Launcher_log.txt", console);
|
||||
logConfig.configureDefault();
|
||||
|
||||
CResourceHandler::initialize();
|
||||
|
||||
Reference in New Issue
Block a user