From 02d6ef6446dc03f56abde8d71852f69c91403af8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 11 Jun 2012 17:21:49 -0500 Subject: Final upload from initial development system --- src/toplevel.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/toplevel.cpp') diff --git a/src/toplevel.cpp b/src/toplevel.cpp index 99cb1f7..3b80d2d 100644 --- a/src/toplevel.cpp +++ b/src/toplevel.cpp @@ -119,6 +119,7 @@ TopLevel::~TopLevel() void TopLevel::load() { KConfig* config = KGlobal::instance()->config(); config->setGroup(NULL); + autostart = config->readBoolEntry("Autostart", true); notifyExpiry = config->readBoolEntry("notifyExpiry", true); notifyExpiryMinutes = config->readNumEntry("notifyExpiryMinutes", 5); } @@ -126,6 +127,7 @@ void TopLevel::load() { void TopLevel::save() { KConfig* config = KGlobal::instance()->config(); config->setGroup(NULL); + config->writeEntry("Autostart", autostart); config->writeEntry("notifyExpiry", notifyExpiry); config->writeEntry("notifyExpiryMinutes", notifyExpiryMinutes); config->sync(); -- cgit v1.2.1