summary refs log tree commit diff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp

index 5a2cb413..b87e50ff 100644 --- a/src/main.cpp +++ b/src/main.cpp
@@ -209,6 +209,11 @@ main(int argc, char *argv[]) #if !defined(Q_OS_MAC) app.setWindowIcon(QIcon::fromTheme("nheko", QIcon{":/logos/nheko.png"})); #endif + if (userdata.isEmpty() || userdata == "default") + app.setDesktopFileName("nheko"); + else + app.setDesktopFileName("nheko[" + userdata + "]"); + http::init(); createStandardDirectory(QStandardPaths::CacheLocation);