summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/today.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 87a7970..0ab7a2a 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -44,2 +44,3 @@
+
//#include <iostream.h>
@@ -129,6 +130,6 @@ void Today::setOwnerField(QString &message) {
void Today::autoStart() {
- // Config cfg("today");
- //cfg.setGroup("Autostart");
- //AUTOSTART = cfg.readNumEntry("autostart",1);
-
+ Config cfg("today");
+ cfg.setGroup("Autostart");
+ int AUTOSTART = cfg.readNumEntry("autostart",1);
+ qDebug(QString("%1").arg(AUTOSTART));
if (AUTOSTART) {
@@ -139,2 +140,3 @@ void Today::autoStart() {
} else {
+ qDebug("Nun in else bei autostart");
QCopEnvelope e("QPE/System", "autoStart(QString, QString)");
@@ -263,2 +265,3 @@ void Today::startConfig() {
+
cfg.writeEntry("maxlinestask",maxlinestask);
@@ -277,2 +280,3 @@ void Today::startConfig() {
draw();
+ AUTOSTART=autostart;
autoStart();
@@ -455,3 +459,3 @@ void Today::startMail() {
QCopEnvelope f("QPE/System", "execute(QString)");
- e << QString("qtmail");
+ f << QString("qtmail");
}