aboutsummaryrefslogtreecommitdiffstats
path: root/demo/Main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demo/Main.qml')
-rw-r--r--demo/Main.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/demo/Main.qml b/demo/Main.qml
index 908dcbd..f0f3674 100644
--- a/demo/Main.qml
+++ b/demo/Main.qml
@@ -44,6 +44,13 @@ ApplicationWindow {
debugConsole.appendLog("Discovering: " + Bobink.discovering);
}
+ function onPrivateKeyPasswordRequired(keyFilePath,
+ previousTryWasInvalid) {
+ keyPasswordDialog.keyFilePath = keyFilePath;
+ keyPasswordDialog.previousTryWasInvalid = previousTryWasInvalid;
+ keyPasswordDialog.open();
+ }
+
function onServersChanged() {
debugConsole.appendLog("Discovered server list updated");
}
@@ -60,6 +67,11 @@ ApplicationWindow {
}
+ KeyPasswordDialog {
+ id: keyPasswordDialog
+
+ }
+
ColumnLayout {
anchors.fill: parent
spacing: 0