From 6fc877577c84e2ed3b175ee1425255e52d1d37b4 Mon Sep 17 00:00:00 2001 From: Michael Schuster Date: Thu, 16 Apr 2020 03:47:24 +0200 Subject: [PATCH] [dolphin] Use CMake env vars for App Name and Icon strings Signed-off-by: Michael Schuster --- shell_integration/dolphin/ownclouddolphinpluginhelper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell_integration/dolphin/ownclouddolphinpluginhelper.h b/shell_integration/dolphin/ownclouddolphinpluginhelper.h index 762f110cb..6d5b77af8 100644 --- a/shell_integration/dolphin/ownclouddolphinpluginhelper.h +++ b/shell_integration/dolphin/ownclouddolphinpluginhelper.h @@ -35,7 +35,7 @@ public: QString contextMenuTitle() const { - return _strings.value("CONTEXT_MENU_TITLE", "Nextcloud"); + return _strings.value("CONTEXT_MENU_TITLE", APPLICATION_NAME); } QString shareActionTitle() const { @@ -43,7 +43,7 @@ public: } QString contextMenuIconName() const { - return _strings.value("CONTEXT_MENU_ICON", "Nextcloud"); + return _strings.value("CONTEXT_MENU_ICON", APPLICATION_ICON_NAME); } QString copyPrivateLinkTitle() const { return _strings["COPY_PRIVATE_LINK_MENU_TITLE"]; } -- 2.30.2