-rw-r--r-- | noncore/settings/usermanager/userdialog.cpp | 7 |
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 | |||
@@ -25,4 +25,8 @@ | |||
25 | #include "passwd.h" | 25 | #include "passwd.h" |
26 | 26 | ||
27 | #include <opie/odevice.h> | ||
28 | using namespace Opie; | ||
29 | |||
30 | |||
27 | /** | 31 | /** |
28 | * UserDialog constructor. Setup the dialog, fill the groupComboBox & groupsListView with all groups. | 32 | * UserDialog constructor. Setup the dialog, fill the groupComboBox & groupsListView with all groups. |
@@ -191,5 +195,6 @@ bool UserDialog::addUser(int uid, int gid) { | |||
191 | QCheckListItem *temp; | 195 | QCheckListItem *temp; |
192 | QFile ozTest; | 196 | QFile ozTest; |
193 | int oz=ozTest.exists("/etc/oz_version"); | 197 | int oz=false; |
198 | if(ODevice::inst()->system()==System_OpenZaurus) oz=true; | ||
194 | UserDialog *adduserDialog=new UserDialog(); | 199 | UserDialog *adduserDialog=new UserDialog(); |
195 | adduserDialog->setCaption(tr("Add User")); | 200 | adduserDialog->setCaption(tr("Add User")); |