From 84b1ddbb3509daf836be0ebaa3a22b8ebffd3190 Mon Sep 17 00:00:00 2001 From: Rodrigo Linfati Date: Wed, 26 Jan 2011 16:59:34 +0100 Subject: [PATCH] update the daemon setting every x time --- src/daemon.cpp | 1 + src/latitude.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/daemon.cpp b/src/daemon.cpp index aebf1ec..481c530 100644 --- a/src/daemon.cpp +++ b/src/daemon.cpp @@ -17,6 +17,7 @@ Daemon::Daemon(QObject *parent) : QObject(parent) { void Daemon::set() { qDebug() << "Daemon: set"; + set_config(); glatitude->update(gps->get_lat(), gps->get_lon(), gps->get_acc()); diff --git a/src/latitude.cpp b/src/latitude.cpp index b1b89c1..7708be8 100644 --- a/src/latitude.cpp +++ b/src/latitude.cpp @@ -43,6 +43,7 @@ LatitudeGUI::LatitudeGUI(QMainWindow *parent) : QMainWindow(parent) { void LatitudeGUI::set() { qDebug() << "LatitudeGUI: set"; + set_config(); glatitude->update(gps->get_lat(), gps->get_lon(), gps->get_acc()); -- 1.7.9.5