Skip to content
Snippets Groups Projects
Commit 22b9fe63 authored by Albert  Babí Oller's avatar Albert Babí Oller Committed by Albert Babí Oller
Browse files

callview: hide plugins option when not available

Gitlab: #104

Change-Id: I2c83411dc8363cc60b2abf7646927a679fbcba74
parent ef776637
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ import QtQuick 2.14 ...@@ -22,6 +22,7 @@ import QtQuick 2.14
import QtQuick.Controls 2.14 import QtQuick.Controls 2.14
import QtGraphicalEffects 1.12 import QtGraphicalEffects 1.12
import net.jami.Models 1.0 import net.jami.Models 1.0
import net.jami.Adapters 1.0
import "../../commoncomponents" import "../../commoncomponents"
...@@ -115,11 +116,13 @@ Item { ...@@ -115,11 +116,13 @@ Item {
}) })
} }
if (UtilsAdapter.checkShowPluginsButton()) {
ContextMenuGenerator.addMenuItem(JamiStrings.viewPlugin, ContextMenuGenerator.addMenuItem(JamiStrings.viewPlugin,
"qrc:/images/icons/extension_24dp.svg", "qrc:/images/icons/extension_24dp.svg",
function (){ function (){
root.pluginItemClicked() root.pluginItemClicked()
}) })
}
root.height = ContextMenuGenerator.getMenu().height root.height = ContextMenuGenerator.getMenu().height
root.width = ContextMenuGenerator.getMenu().width root.width = ContextMenuGenerator.getMenu().width
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment