2022-10-16 14:07:56 +00:00
|
|
|
#include "app_data.hpp"
|
2023-02-13 15:46:49 +00:00
|
|
|
#include "path.hpp"
|
2022-10-16 14:07:56 +00:00
|
|
|
|
2023-06-12 15:10:35 +00:00
|
|
|
#include <QDir>
|
2022-10-16 14:07:56 +00:00
|
|
|
#include <QStandardPaths>
|
|
|
|
|
|
|
|
static QString root()
|
|
|
|
{
|
2023-06-12 15:10:35 +00:00
|
|
|
return QDir::toNativeSeparators(QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation));
|
2022-10-16 14:07:56 +00:00
|
|
|
}
|
|
|
|
|
2024-08-24 18:08:12 +00:00
|
|
|
QString profiles()
|
2022-10-16 14:07:56 +00:00
|
|
|
{
|
2024-08-24 18:08:12 +00:00
|
|
|
auto path = joinPath(root(), "profiles");
|
2022-10-16 14:07:56 +00:00
|
|
|
return QString::fromStdString(path);
|
|
|
|
}
|