[dolphin] Use CMake env vars for App Name and Icon strings

Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
Michael Schuster 2020-04-16 03:47:24 +02:00
parent 6e220b10e4
commit 6fc877577c
No known key found for this signature in database
GPG key ID: 00819E3BF4177B28

View file

@ -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"]; }