mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-07 18:43:34 +02:00
callActionBar: make share action as sharing screen by default
Change-Id: I4197e96a830f4e57fdf597e9230adffd3f9b5cb4
This commit is contained in:
parent
7bb0e06dbc
commit
30f9d446e3
1 changed files with 3 additions and 3 deletions
|
@ -258,11 +258,11 @@ Control {
|
||||||
},
|
},
|
||||||
Action {
|
Action {
|
||||||
id: shareAction
|
id: shareAction
|
||||||
property bool openPopupWhenClicked: AvAdapter.currentRenderingDeviceType
|
|
||||||
!== Video.DeviceType.DISPLAY
|
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
if (AvAdapter.currentRenderingDeviceType === Video.DeviceType.DISPLAY)
|
if (AvAdapter.currentRenderingDeviceType === Video.DeviceType.DISPLAY)
|
||||||
root.stopSharingClicked()
|
root.stopSharingClicked()
|
||||||
|
else
|
||||||
|
root.shareScreenClicked()
|
||||||
}
|
}
|
||||||
icon.source: AvAdapter.currentRenderingDeviceType === Video.DeviceType.DISPLAY ?
|
icon.source: AvAdapter.currentRenderingDeviceType === Video.DeviceType.DISPLAY ?
|
||||||
"qrc:/images/icons/share_stop_black_24dp.svg" :
|
"qrc:/images/icons/share_stop_black_24dp.svg" :
|
||||||
|
@ -271,7 +271,7 @@ Control {
|
||||||
"red" : "white"
|
"red" : "white"
|
||||||
text: AvAdapter.currentRenderingDeviceType === Video.DeviceType.DISPLAY ?
|
text: AvAdapter.currentRenderingDeviceType === Video.DeviceType.DISPLAY ?
|
||||||
JamiStrings.stopSharing :
|
JamiStrings.stopSharing :
|
||||||
JamiStrings.selectShareMethod
|
JamiStrings.shareScreen
|
||||||
property real size: 34
|
property real size: 34
|
||||||
property var menuAction: shareMenuAction
|
property var menuAction: shareMenuAction
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue