Commit 4490d9be authored by patrick pereira's avatar patrick pereira 🏃
Browse files

xdgdatadirs: Use clang-format


Signed-off-by: patrick pereira's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 56d58c05
......@@ -5,7 +5,8 @@
using namespace Utils;
QStringList Utils::getXdgDataDirs() {
QStringList Utils::getXdgDataDirs()
{
const QString xdgDataDirsEnv = QFile::decodeName(qgetenv("XDG_DATA_DIRS"));
if (xdgDataDirsEnv.isEmpty()) {
return {};
......
......@@ -3,8 +3,8 @@
#include <QString>
namespace Utils {
namespace Utils
{
/**
* @brief Get valid paths from XDG_DATA_DIRS environment variable
* Qt does not check XDG_DATA_DIRS for MACOS but KDE prefix.sh script sets it.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment