diff --git a/src/system.cpp b/src/system.cpp index ddbd859..aa7a262 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -1,5 +1,7 @@ #include "../include/system.hpp" +#include + System::System(QObject *parent) : QObject(parent) { } /** @@ -173,3 +175,7 @@ void System::writeToAFile(const QString &data, const QString &fileUrl) { } } } + +QString System::getUser() { + return qgetenv("USER"); +}