summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-09-15 13:36:38 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-09-15 13:36:38 (GMT)
commit3c45ed7c3b62609824c0ea50f1ce9c00bbe00849 (patch)
tree9eb43ea5e4700c3058d5f7be162be2ca343fd6ce /Swift/QtUI
parentbe7e9559a3973122649f5d42c25149750314c902 (diff)
downloadswift-contrib-3c45ed7c3b62609824c0ea50f1ce9c00bbe00849.zip
swift-contrib-3c45ed7c3b62609824c0ea50f1ce9c00bbe00849.tar.bz2
Mark a subscription request as read if you defer it.
Resolves: #505
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtSubscriptionRequestWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/QtSubscriptionRequestWindow.cpp b/Swift/QtUI/QtSubscriptionRequestWindow.cpp
index 59aeaae..e201808 100644
--- a/Swift/QtUI/QtSubscriptionRequestWindow.cpp
+++ b/Swift/QtUI/QtSubscriptionRequestWindow.cpp
@@ -56,6 +56,7 @@ void QtSubscriptionRequestWindow::handleNo() {
}
void QtSubscriptionRequestWindow::handleDefer() {
+ event_->defer();
delete this;
}