From: Michael Schuster Date: Thu, 16 Apr 2020 01:47:24 +0000 (+0200) Subject: [dolphin] Use CMake env vars for App Name and Icon strings X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~282 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6fc877577c84e2ed3b175ee1425255e52d1d37b4;p=nextcloud-desktop.git [dolphin] Use CMake env vars for App Name and Icon strings Signed-off-by: Michael Schuster --- 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"]; }