Skip to content

Commit

Permalink
Time Travel
Browse files Browse the repository at this point in the history
  • Loading branch information
Ace-Krypton committed Jul 10, 2023
1 parent 7baa32a commit 6b65e65
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/system.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "../include/system.hpp"

#include <QStandardPaths>

System::System(QObject *parent) : QObject(parent) { }

/**
Expand Down Expand Up @@ -173,3 +175,7 @@ void System::writeToAFile(const QString &data, const QString &fileUrl) {
}
}
}

QString System::getUser() {
return qgetenv("USER");
}

0 comments on commit 6b65e65

Please sign in to comment.