obliteration/src/app_data.cpp

17 lines
339 B
C++
Raw Normal View History

2022-10-16 14:07:56 +00:00
#include "app_data.hpp"
#include "path.hpp"
2022-10-16 14:07:56 +00:00
#include <QDir>
2022-10-16 14:07:56 +00:00
#include <QStandardPaths>
static QString root()
{
return QDir::toNativeSeparators(QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation));
2022-10-16 14:07:56 +00:00
}
QString kernelDebugDump()
{
auto path = joinPath(root(), "kernel");
return QString::fromStdString(path);
}