more unfinished changes, process tab for dashboard
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#include "common.hpp"
|
||||
|
||||
#include <QDir>
|
||||
#include <QStandardPaths>
|
||||
|
||||
namespace ZShell::config {
|
||||
|
||||
Q_LOGGING_CATEGORY(lcConfig, "zshell.config", QtInfoMsg)
|
||||
|
||||
QString configDir() {
|
||||
const QString dir =
|
||||
QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) +
|
||||
QStringLiteral("/zshell");
|
||||
QDir().mkpath(dir);
|
||||
return dir;
|
||||
}
|
||||
|
||||
QString monitorConfigDir() {
|
||||
return configDir() + QStringLiteral("/monitors");
|
||||
}
|
||||
|
||||
} // namespace ZShell::config
|
||||
Reference in New Issue
Block a user