summaryrefslogtreecommitdiffabout
path: root/kmicromail
authorzautrix <zautrix>2004-09-08 02:15:33 (UTC)
committer zautrix <zautrix>2004-09-08 02:15:33 (UTC)
commit858de54fa69a6e93072652a9cb33783ad10a9f0a (patch) (side-by-side diff)
treee2cc31a725057c84b94de0a58029321485f093c7 /kmicromail
parente5f6ea343bc2b129f81fde3734b100cfa2ed6c83 (diff)
downloadkdepimpi-858de54fa69a6e93072652a9cb33783ad10a9f0a.zip
kdepimpi-858de54fa69a6e93072652a9cb33783ad10a9f0a.tar.gz
kdepimpi-858de54fa69a6e93072652a9cb33783ad10a9f0a.tar.bz2
Some more fixes
Diffstat (limited to 'kmicromail') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmicromail/main.cpp b/kmicromail/main.cpp
index 65de770..30637e2 100644
--- a/kmicromail/main.cpp
+++ b/kmicromail/main.cpp
@@ -14,17 +14,17 @@
#endif
#include "opiemail.h"
#include <qdir.h>
#include <kstandarddirs.h>
#include <kglobal.h>
#include <stdio.h>
#include "mainwindow.h"
-using namespace Opie::Core;
+//using namespace Opie::Core;
int main( int argc, char **argv ) {
#ifndef DESKTOP_VERSION
QPEApplication a( argc, argv );
a.setKeepRunning ();
#else
QApplication a( argc, argv );
QApplication::setStyle( new QPlatinumStyle ());
@@ -37,17 +37,17 @@ int main( int argc, char **argv ) {
if ( QApplication::desktop()->width() > 320 )
KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kmicromail/icons22/");
else
KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kmicromail/");
#else
fileName = qApp->applicationDirPath () + "/kdepim/kmicromail/";
KGlobal::iconLoader()->setIconPath(QDir::convertSeparators(fileName));
#endif
- KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kmicromail")));
+ KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kopiemail")));
OpieMail mw;
#ifndef DESKTOP_VERSION
//qDebug("CONNECT ");
QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),&mw, SLOT(message( const QCString&, const QByteArray& )));
// QObject::connect(&a, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & )));
a.showMainWidget(&mw );
#else
a.setMainWidget(&mw );