summaryrefslogtreecommitdiff
authorkergoth <kergoth>2003-03-24 19:56:05 (UTC)
committer kergoth <kergoth>2003-03-24 19:56:05 (UTC)
commit8f122917f08f5e9d07c2bc4abe4f4c849c08f529 (patch) (side-by-side diff)
treed6b12b10243e4e61423a88bcd15f42cc8a8a3989
parent9f95756ee05fd1e76d80b441de1edcf983f2b06a (diff)
downloadopie-8f122917f08f5e9d07c2bc4abe4f4c849c08f529.zip
opie-8f122917f08f5e9d07c2bc4abe4f4c849c08f529.tar.gz
opie-8f122917f08f5e9d07c2bc4abe4f4c849c08f529.tar.bz2
Include calibrate.h regardless, as its no longer dependent on device ifdefs, and include qwsmouse_qws.h.
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp
index 64fb968..d11b6c5 100644
--- a/core/launcher/main.cpp
+++ b/core/launcher/main.cpp
@@ -14,59 +14,58 @@
** See http://www.trolltech.com/gpl/ for GPL licensing information.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#include "desktop.h"
#include "taskbar.h"
#include "stabmon.h"
#include <qpe/qpeapplication.h>
#include <qpe/network.h>
#include <qpe/config.h>
#if defined( QT_QWS_SL5XXX ) || defined( QT_QWS_IPAQ )
#include <qpe/custom.h>
#endif
#include <opie/odevice.h>
#include <qmessagebox.h>
#include <qfile.h>
#include <qimage.h>
#include <qwindowsystem_qws.h>
+#include <qwsmouse_qws.h>
#include <qpe/qcopenvelope_qws.h>
#include <qpe/alarmserver.h>
#include <stdlib.h>
#include <stdio.h>
#include <signal.h>
#include <unistd.h>
-#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX)
#include "../calibrate/calibrate.h"
-#endif
using namespace Opie;
void initEnvironment()
{
Config config("locale");
config.setGroup( "Location" );
QString tz = config.readEntry( "Timezone", getenv("TZ") );
// if not timezone set, pick New York
if (tz.isNull())
tz = "America/New_York";
setenv( "TZ", tz, 1 );
config.writeEntry( "Timezone", tz);
config.setGroup( "Language" );
QString lang = config.readEntry( "Language", getenv("LANG") );
if ( !lang.isNull() )
setenv( "LANG", lang, 1 );
}
int initApplication( int argc, char ** argv )