mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-06 07:45:51 +02:00
callview: hide plugins option when not available
Gitlab: #104 Change-Id: I2c83411dc8363cc60b2abf7646927a679fbcba74
This commit is contained in:
parent
ef776637ad
commit
22b9fe6374
1 changed files with 8 additions and 5 deletions
|
@ -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 {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
ContextMenuGenerator.addMenuItem(JamiStrings.viewPlugin,
|
if (UtilsAdapter.checkShowPluginsButton()) {
|
||||||
"qrc:/images/icons/extension_24dp.svg",
|
ContextMenuGenerator.addMenuItem(JamiStrings.viewPlugin,
|
||||||
function (){
|
"qrc:/images/icons/extension_24dp.svg",
|
||||||
root.pluginItemClicked()
|
function (){
|
||||||
})
|
root.pluginItemClicked()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
root.height = ContextMenuGenerator.getMenu().height
|
root.height = ContextMenuGenerator.getMenu().height
|
||||||
root.width = ContextMenuGenerator.getMenu().width
|
root.width = ContextMenuGenerator.getMenu().width
|
||||||
|
|
Loading…
Add table
Reference in a new issue