aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-10-06 20:02:21 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-10-06 20:02:21 +0000
commit7b26e933d8333a4c4e5ae14c0ded0b43d83698c1 (patch)
tree3dd7019af6d77635ba6ea0453c16c164a012ac5f
parentremoved beautifyfingerprint-method from gpgwin (diff)
downloadgpg4usb-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--TODO1
-rw-r--r--editorpage.cpp4
-rw-r--r--editorpage.h2
-rw-r--r--gpgwin.cpp2
4 files changed, 5 insertions, 4 deletions
diff --git a/TODO b/TODO
index 5bcec96..1b8b7f3 100644
--- a/TODO
+++ b/TODO
@@ -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 */
diff --git a/gpgwin.cpp b/gpgwin.cpp
index 7ed6072..2e42095 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -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;