From e9a4bc3eda5dd0bd9c47efae8bac168846403e3d Mon Sep 17 00:00:00 2001 From: nils Date: Tue, 15 Oct 2013 20:52:19 +0000 Subject: keydetails widget in qml working git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@1061 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- textedit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'textedit.cpp') diff --git a/textedit.cpp b/textedit.cpp index ca2a904..3f743a0 100644 --- a/textedit.cpp +++ b/textedit.cpp @@ -66,8 +66,8 @@ void TextEdit::slotNewHelpTab(QString title, QString path) } -void TextEdit::slotNewQMLTab(QString title, KgpgCore::KgpgKey key) { - QMLPage *page = new QMLPage(key); +void TextEdit::slotNewQMLTab(QString title, GpgME::GpgContext *ctx, KgpgCore::KgpgKey key) { + QMLPage *page = new QMLPage(ctx, key); // todo: should parent also be given? tabWidget->addTab(page, title); tabWidget->setCurrentIndex(tabWidget->count() - 1); -- cgit v1.2.3