diff options
Diffstat (limited to 'textedit.cpp')
-rw-r--r-- | textedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/textedit.cpp b/textedit.cpp index e40a4af..22473aa 100644 --- a/textedit.cpp +++ b/textedit.cpp @@ -66,8 +66,8 @@ void TextEdit::slotNewHelpTab(QString title, QString path) } -void TextEdit::slotNewQMLTab(QString title, QString qmlfile) { - QMLPage *page = new QMLPage(qmlfile); +void TextEdit::slotNewQMLTab(QString title, KgpgCore::KgpgKey key) { + QMLPage *page = new QMLPage(key); tabWidget->addTab(page, title); tabWidget->setCurrentIndex(tabWidget->count() - 1); } |