aboutsummaryrefslogtreecommitdiffstats
path: root/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r--mainwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 674be9f..0c0fee5 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -1255,11 +1255,11 @@ void MainWindow::slotShowKeyDetails()
return;
}
- // TODO: get qml working here ;-)
- edit->slotNewQMLTab("KeyDetailsQML", "TODO");
-
KgpgCore::KgpgKey key = mCtx->getKeyDetails(mKeyList->getSelected()->first());
if (key.id() != "") {
+ // TODO: get qml working here ;-)
+ edit->slotNewQMLTab("KeyDetailsQML", key);
+
new KeyDetailsDialog(mCtx, key, this);
}