diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-12-06 00:13:12 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-12-06 00:13:12 +0000 |
commit | 4e4cc120a6b010ee625ed11d968db60485a5b17f (patch) | |
tree | e566339d17ebb0d8dc0a5a8502e357df426b2f98 /textedit.cpp | |
parent | remove accidently added files (diff) | |
download | gpg4usb-4e4cc120a6b010ee625ed11d968db60485a5b17f.tar.gz gpg4usb-4e4cc120a6b010ee625ed11d968db60485a5b17f.zip |
modificationChanged signal from QTextEdit
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@663 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'textedit.cpp')
-rw-r--r-- | textedit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/textedit.cpp b/textedit.cpp index 10f4585..3e78293 100644 --- a/textedit.cpp +++ b/textedit.cpp @@ -50,7 +50,7 @@ void TextEdit::newTab() tabWidget->addTab(page, header); tabWidget->setCurrentIndex(tabWidget->count() - 1); page->getTextPage()->setFocus(); - connect(page->getTextPage(), SIGNAL(modificationChanged(bool)), this, SLOT(showModified())); + connect(page->getTextPage()->document(), SIGNAL(modificationChanged(bool)), this, SLOT(showModified())); } void TextEdit::newHelpTab(QString title, QString path) |