-rw-r--r-- | core/launcher/firstuse.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/launcher/firstuse.cpp b/core/launcher/firstuse.cpp index acddeea..8344787 100644 --- a/core/launcher/firstuse.cpp +++ b/core/launcher/firstuse.cpp | |||
@@ -52,32 +52,33 @@ using namespace Opie::Core; | |||
52 | #include <qwsdisplay_qws.h> | 52 | #include <qwsdisplay_qws.h> |
53 | #include <qgfx_qws.h> | 53 | #include <qgfx_qws.h> |
54 | #endif | 54 | #endif |
55 | 55 | ||
56 | /* STD */ | 56 | /* STD */ |
57 | #include <stdlib.h> | 57 | #include <stdlib.h> |
58 | #include <sys/types.h> | 58 | #include <sys/types.h> |
59 | #if defined(Q_OS_LINUX) || defined(_OS_LINUX_) | 59 | #if defined(Q_OS_LINUX) || defined(_OS_LINUX_) |
60 | #include <unistd.h> | 60 | #include <unistd.h> |
61 | #endif | 61 | #endif |
62 | 62 | ||
63 | 63 | ||
64 | struct { | 64 | struct settingsTable_t { |
65 | bool enabled; | 65 | bool enabled : 1; |
66 | const char *app; | 66 | const char *app; |
67 | const char *start; | 67 | const char *start; |
68 | const char *stop; | 68 | const char *stop; |
69 | const char *desc; | 69 | const char *desc; |
70 | } | 70 | }; |
71 | settingsTable [] = | 71 | |
72 | static settingsTable_t settingsTable [] = | ||
72 | { | 73 | { |
73 | { FALSE, "language", "raise()", "accept()", // No tr | 74 | { FALSE, "language", "raise()", "accept()", // No tr |
74 | QT_TR_NOOP("Language") }, | 75 | QT_TR_NOOP("Language") }, |
75 | { FALSE, "doctab", "raise()", "accept()", // No tr | 76 | { FALSE, "doctab", "raise()", "accept()", // No tr |
76 | QT_TR_NOOP("DocTab") }, | 77 | QT_TR_NOOP("DocTab") }, |
77 | #ifndef Q_OS_WIN32 | 78 | #ifndef Q_OS_WIN32 |
78 | { FALSE, "systemtime", "raise()", "accept()", // No tr | 79 | { FALSE, "systemtime", "raise()", "accept()", // No tr |
79 | QT_TR_NOOP("Time and Date") }, | 80 | QT_TR_NOOP("Time and Date") }, |
80 | #endif | 81 | #endif |
81 | { FALSE, "addressbook", "editPersonalAndClose()", "accept()", // No tr | 82 | { FALSE, "addressbook", "editPersonalAndClose()", "accept()", // No tr |
82 | QT_TR_NOOP("Personal Information") }, | 83 | QT_TR_NOOP("Personal Information") }, |
83 | { FALSE, 0, 0, 0, 0 } | 84 | { FALSE, 0, 0, 0, 0 } |