aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'textedit.cpp')
-rw-r--r--textedit.cpp4
1 files changed, 2 insertions, 2 deletions
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);