summaryrefslogtreecommitdiff
path: root/noncore
Unidiff
Diffstat (limited to 'noncore') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/ntp.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp
index 0abb401..083b50f 100644
--- a/noncore/settings/netsystemtime/ntp.cpp
+++ b/noncore/settings/netsystemtime/ntp.cpp
@@ -10,6 +10,7 @@
10#include <qmessagebox.h> 10#include <qmessagebox.h>
11#include <qmultilineedit.h> 11#include <qmultilineedit.h>
12#include <opie/oprocess.h> 12#include <opie/oprocess.h>
13#include <qpe/qpeapplication.h>
13#include <qpe/config.h> 14#include <qpe/config.h>
14#include <qpe/global.h> 15#include <qpe/global.h>
15#include <qpe/timeconversion.h> 16#include <qpe/timeconversion.h>
@@ -24,8 +25,8 @@
24Ntp::Ntp( QWidget* parent, const char* name, WFlags fl ) 25Ntp::Ntp( QWidget* parent, const char* name, WFlags fl )
25 : SetDateTime( parent, name, fl ) 26 : SetDateTime( parent, name, fl )
26{ 27{
27 28 qDebug("%s", QPEApplication::qpeDir().latin1());
28 Config ntpSrvs("/etc/ntpservers",Config::File); 29 Config ntpSrvs(QPEApplication::qpeDir()+"etc/ntpservers",Config::File);
29 ntpSrvs.setGroup("servers"); 30 ntpSrvs.setGroup("servers");
30 int srvCount = ntpSrvs.readNumEntry("count", 0 ); 31 int srvCount = ntpSrvs.readNumEntry("count", 0 );
31 for (int i = 0; i < srvCount; i++) 32 for (int i = 0; i < srvCount; i++)