Various fixes
This commit is contained in:
parent
64e5e02744
commit
ba85b56e9f
5 changed files with 46 additions and 72 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue