summary refs log tree commit diff
path: root/resources/qml/voip/ScreenShare.qml
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2021-02-25 12:00:55 -0500
committertrilene <trilene@runbox.com>2021-02-25 12:00:55 -0500
commit402bd565cb2b8836420f73461acacd886c9d147c (patch)
tree7841b925c3287473fa6b15dfcf204a76d5eac695 /resources/qml/voip/ScreenShare.qml
parentAllow choice of single window when sharing screen (diff)
downloadnheko-402bd565cb2b8836420f73461acacd886c9d147c.tar.xz
Add screen sharing window preview
Diffstat (limited to 'resources/qml/voip/ScreenShare.qml')
-rw-r--r--resources/qml/voip/ScreenShare.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/qml/voip/ScreenShare.qml b/resources/qml/voip/ScreenShare.qml
index 76991f45..a22b5b68 100644
--- a/resources/qml/voip/ScreenShare.qml
+++ b/resources/qml/voip/ScreenShare.qml
@@ -128,6 +128,13 @@ Popup {
             }
 
             Button {
+                text: qsTr("Preview")
+                onClicked: {
+                    CallManager.previewWindow(windowCombo.currentIndex);
+                }
+            }
+
+            Button {
                 text: qsTr("Cancel")
                 onClicked: {
                     close();