aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.cpp
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2013-10-11 21:43:20 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2013-10-11 21:43:20 +0000
commitb2158efe7199b9db24fc42a349d887edeac15130 (patch)
tree3a5dbd24fc197b76cf9b11547990ceb1d8e81c90 /textedit.cpp
parentlayout (diff)
downloadgpg4usb-b2158efe7199b9db24fc42a349d887edeac15130.tar.gz
gpg4usb-b2158efe7199b9db24fc42a349d887edeac15130.zip
button and textfield in qml
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@1053 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'textedit.cpp')
-rw-r--r--textedit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/textedit.cpp b/textedit.cpp
index 22473aa..ca2a904 100644
--- a/textedit.cpp
+++ b/textedit.cpp
@@ -68,6 +68,7 @@ void TextEdit::slotNewHelpTab(QString title, QString path)
void TextEdit::slotNewQMLTab(QString title, KgpgCore::KgpgKey key) {
QMLPage *page = new QMLPage(key);
+ // todo: should parent also be given?
tabWidget->addTab(page, title);
tabWidget->setCurrentIndex(tabWidget->count() - 1);
}