summaryrefslogtreecommitdiffstatshomepage
path: root/NoteEditor.cpp
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2011-03-13 03:23:03 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2011-03-13 03:23:03 -0400
commitc112a3dbe726dfa1b2c9759870ae60696df8479d (patch)
tree73ffb5fd891b4d20ec61ea2e50d719cbcd518880 /NoteEditor.cpp
parentLoad in variable font. (diff)
downloadAuthor-c112a3dbe726dfa1b2c9759870ae60696df8479d.tar.xz
Author-c112a3dbe726dfa1b2c9759870ae60696df8479d.zip
Next on close.
Diffstat (limited to 'NoteEditor.cpp')
-rw-r--r--NoteEditor.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/NoteEditor.cpp b/NoteEditor.cpp
index 213496b..cb822fa 100644
--- a/NoteEditor.cpp
+++ b/NoteEditor.cpp
@@ -16,3 +16,8 @@ QString NoteEditor::html() const
{
return m_editor->toHtml();
}
+void NoteEditor::closeEvent(QCloseEvent *event)
+{
+ emit finished();
+ QMainWindow::closeEvent(event);
+}