Various fixes

This commit is contained in:
pokamest 2021-10-07 22:21:04 +03:00
parent 64e5e02744
commit ba85b56e9f
5 changed files with 46 additions and 72 deletions

View file

@ -3,6 +3,7 @@
#include <QDir>
#include <QStandardPaths>
#include <QUrl>
#include <Utils.h>
#include <iostream>
@ -74,6 +75,14 @@ bool Debug::openLogsFolder()
return true;
}
bool Debug::openServiceLogsFolder()
{
QString path = Utils::systemLogPath();
path = "file:///" + path;
QDesktopServices::openUrl(QUrl::fromLocalFile(path));
return true;
}
QString Debug::appLogFileNamePath()
{
return m_file.fileName();