summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-03-05 07:17:47 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-03-05 07:17:47 (GMT)
commita498ef7065f4483f86031dbfe481e55e4adb37d1 (patch)
tree6e38944848273f851b99bb65df623b270b874627 /Swift/QtUI
parent4b6694377e3a0308009bdf90be0a4e0de463b215 (diff)
downloadswift-a498ef7065f4483f86031dbfe481e55e4adb37d1.zip
swift-a498ef7065f4483f86031dbfe481e55e4adb37d1.tar.bz2
Get receipt status right in the menu at launch
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtMainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtMainWindow.cpp b/Swift/QtUI/QtMainWindow.cpp
index 9f66b31..18fb43c 100644
--- a/Swift/QtUI/QtMainWindow.cpp
+++ b/Swift/QtUI/QtMainWindow.cpp
@@ -123,7 +123,7 @@ QtMainWindow::QtMainWindow(SettingsProvider* settings, UIEventStream* uiEventStr
toggleRequestDeliveryReceipts_ = new QAction(tr("&Request Delivery Receipts"), this);
toggleRequestDeliveryReceipts_->setCheckable(true);
- toggleRequestDeliveryReceipts_->setChecked(false);
+ toggleRequestDeliveryReceipts_->setChecked(settings_->getSetting(SettingConstants::REQUEST_DELIVERYRECEIPTS));
connect(toggleRequestDeliveryReceipts_, SIGNAL(toggled(bool)), SLOT(handleToggleRequestDeliveryReceipts(bool)));
loginMenus_.generalMenu->addAction(toggleRequestDeliveryReceipts_);