diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-12-06 00:52:51 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-12-06 00:52:51 +0000 |
commit | 88cbff3fd948c261014d4c88ea62b336f0dce4b1 (patch) | |
tree | 4cca5ca30574972eae4f52b48a5a91739b9e2e87 /textedit.cpp | |
parent | absolute path for help (diff) | |
download | gpg4usb-88cbff3fd948c261014d4c88ea62b336f0dce4b1.tar.gz gpg4usb-88cbff3fd948c261014d4c88ea62b336f0dce4b1.zip |
correct signal 'modification changed' also for opened documents
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@665 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 3e78293..f69715b 100644 --- a/textedit.cpp +++ b/textedit.cpp @@ -84,7 +84,7 @@ void TextEdit::open() tabWidget->setCurrentIndex(tabWidget->count() - 1); QApplication::restoreOverrideCursor(); page->getTextPage()->setFocus(); - connect(page->getTextPage(), SIGNAL(modificationChanged(bool)), this, SLOT(showModified())); + connect(page->getTextPage()->document(), SIGNAL(modificationChanged(bool)), this, SLOT(showModified())); //enableAction(true) } else { QMessageBox::warning(this, tr("Application"), |