diff --git a/resources/desktop/com.github.rssguard.appdata.xml b/resources/desktop/com.github.rssguard.appdata.xml
index c6c49720b..19af52d68 100644
--- a/resources/desktop/com.github.rssguard.appdata.xml
+++ b/resources/desktop/com.github.rssguard.appdata.xml
@@ -26,7 +26,7 @@
https://github.com/sponsors/martinrotter
-
+
none
diff --git a/src/librssguard/miscellaneous/systemfactory.cpp b/src/librssguard/miscellaneous/systemfactory.cpp
index 92d10ef3c..83de50fbe 100644
--- a/src/librssguard/miscellaneous/systemfactory.cpp
+++ b/src/librssguard/miscellaneous/systemfactory.cpp
@@ -172,10 +172,10 @@ bool SystemFactory::setAutoStartStatus(AutoStartStatus new_status) {
}
QString SystemFactory::loggedInUser() const {
- QString name = qgetenv("USER");
+ QString name = qEnvironmentVariable("USER");
if (name.isEmpty()) {
- name = qgetenv("USERNAME");
+ name = qEnvironmentVariable("USERNAME");
}
if (name.isEmpty()) {