mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-18 11:58:11 +00:00
Allow qml to have access to the Application Name
This commit is contained in:
parent
c74afb3918
commit
6d892a39ac
1 changed files with 1 additions and 0 deletions
|
|
@ -372,6 +372,7 @@ void App::initContentApp () {
|
|||
mEngine->addImageProvider(ExternalImageProvider::ProviderId, new ExternalImageProvider());
|
||||
mEngine->addImageProvider(ThumbnailProvider::ProviderId, new ThumbnailProvider());
|
||||
|
||||
mEngine->rootContext()->setContextProperty("applicationName", APPLICATION_NAME);
|
||||
mEngine->rootContext()->setContextProperty("applicationUrl", APPLICATION_URL);
|
||||
mEngine->rootContext()->setContextProperty("applicationVendor", APPLICATION_VENDOR);
|
||||
#ifdef APPLICATION_LICENCE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue