author | tille <tille> | 2002-06-27 10:14:52 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-27 10:14:52 (UTC) |
commit | f2cd92301181f3bc895b0d1701183e4da7b52812 (patch) (unidiff) | |
tree | ce9f50855ea4a294e8edb0022fc38a92ab6a011f | |
parent | 7c3fe018ad8855011c6e0441ed1bef2c09e293f2 (diff) | |
download | opie-f2cd92301181f3bc895b0d1701183e4da7b52812.zip opie-f2cd92301181f3bc895b0d1701183e4da7b52812.tar.gz opie-f2cd92301181f3bc895b0d1701183e4da7b52812.tar.bz2 |
ntpservers is in qpeDir
-rw-r--r-- | noncore/settings/netsystemtime/ntp.cpp | 5 |
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 | |||
@@ -12,2 +12,3 @@ | |||
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> |
@@ -26,4 +27,4 @@ Ntp::Ntp( QWidget* parent, const char* name, WFlags 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"); |