diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-10-06 20:02:21 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-10-06 20:02:21 +0000 |
commit | 7b26e933d8333a4c4e5ae14c0ded0b43d83698c1 (patch) | |
tree | 3dd7019af6d77635ba6ea0453c16c164a012ac5f | |
parent | removed beautifyfingerprint-method from gpgwin (diff) | |
download | gpg4usb-7b26e933d8333a4c4e5ae14c0ded0b43d83698c1.tar.gz gpg4usb-7b26e933d8333a4c4e5ae14c0ded0b43d83698c1.zip |
changed hideNoteByClass to closeNoteByClass
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@542 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | editorpage.cpp | 4 | ||||
-rw-r--r-- | editorpage.h | 2 | ||||
-rw-r--r-- | gpgwin.cpp | 2 |
4 files changed, 5 insertions, 4 deletions
@@ -21,6 +21,7 @@ Release 0.3.1 - take care of warnings in compiling [DONE] - export public key on export of private key too - put keydetails to keylist +- dont hide verifynotification {DONE] BUGS: - Sometimes two or more stars are shown at modified documents diff --git a/editorpage.cpp b/editorpage.cpp index 6562aa7..326cdfd 100644 --- a/editorpage.cpp +++ b/editorpage.cpp @@ -55,13 +55,13 @@ void EditorPage::showNotificationWidget(QWidget *widget, const char *className) mainLayout->addWidget(widget); } -void EditorPage::hideNoteByClass(const char *className) +void EditorPage::closeNoteByClass(const char *className) { QList<QWidget *> widgets = findChildren<QWidget *>(); foreach(QWidget * widget, widgets) { if (widget->property(className) == true) { - widget->hide(); + widget->close(); } } } diff --git a/editorpage.h b/editorpage.h index 02ba5ce..4e63f33 100644 --- a/editorpage.h +++ b/editorpage.h @@ -79,7 +79,7 @@ public: * * @param className The classname of the widgets to hide */ - void hideNoteByClass(const char *className); + void closeNoteByClass(const char *className); private: QPlainTextEdit *textPage; /** The textedit of the tab */ @@ -676,7 +676,7 @@ void GpgWin::verify() int textIsSigned = isSigned(text); gpgme_signature_t sign = mCtx->verify(text); - edit->curPage()->hideNoteByClass("verifyNotification"); + edit->curPage()->closeNoteByClass("verifyNotification"); if (sign == NULL) { return; |