From b67801700603160d0a6cf5fd4230b2806ce6398f Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Sun, 31 Jan 2021 21:26:07 +0200 Subject: [PATCH] Don't hardcode nemo home path --- service/src/harbour-batterybuddy-daemon.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/service/src/harbour-batterybuddy-daemon.cpp b/service/src/harbour-batterybuddy-daemon.cpp index 7213670..fd87fc7 100644 --- a/service/src/harbour-batterybuddy-daemon.cpp +++ b/service/src/harbour-batterybuddy-daemon.cpp @@ -24,10 +24,6 @@ int main(int argc, char** argv) { - // Use the same config file as the GUI application. - // This is used by QSettings() - qputenv("XDG_CONFIG_HOME", "/home/nemo/.config"); - const char* logEnvVar = "QT_LOGGING_RULES"; for(int i = 1; i < argc; i++) { if(!strcmp(argv[i],"-v")) { @@ -40,7 +36,7 @@ int main(int argc, char** argv) qputenv(logEnvVar, "*.info=true"); else if(!strcmp(argv[i],"--help")) { printf("%s %s\n\n", APP_NAME, APP_VERSION); - printf("This binary is meant to run as a service as user nemo,\n"); + printf("This binary is meant to run as a service as normal user,\n"); printf("but it can be run manually for debugging purposes, too.\n\n"); printf("Usage:\n"); printf(" --verbose Enable informational messages\n");