summaryrefslogtreecommitdiff
path: root/noncore/settings
Side-by-side diff
Diffstat (limited to 'noncore/settings') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/usermanager/userdialog.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/settings/usermanager/userdialog.cpp b/noncore/settings/usermanager/userdialog.cpp
index 42a9144..36bcf86 100644
--- a/noncore/settings/usermanager/userdialog.cpp
+++ b/noncore/settings/usermanager/userdialog.cpp
@@ -26,2 +26,6 @@
+#include <opie/odevice.h>
+using namespace Opie;
+
+
/**
@@ -192,3 +196,4 @@ bool UserDialog::addUser(int uid, int gid) {
QFile ozTest;
- int oz=ozTest.exists("/etc/oz_version");
+ int oz=false;
+ if(ODevice::inst()->system()==System_OpenZaurus) oz=true;
UserDialog *adduserDialog=new UserDialog();