summaryrefslogtreecommitdiff
path: root/noncore/apps/advancedfm/main.cpp
Unidiff
Diffstat (limited to 'noncore/apps/advancedfm/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/advancedfm/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/apps/advancedfm/main.cpp b/noncore/apps/advancedfm/main.cpp
index 8cacc4a..51e38dc 100644
--- a/noncore/apps/advancedfm/main.cpp
+++ b/noncore/apps/advancedfm/main.cpp
@@ -7,21 +7,27 @@
7 email : ljp@llornkcor.com 7 email : ljp@llornkcor.com
8 * This program is free software; you can redistribute it and/or modify * 8 * This program is free software; you can redistribute it and/or modify *
9 * it under the terms of the GNU General Public License as published by * 9 * it under the terms of the GNU General Public License as published by *
10 * the Free Software Foundation; either version 2 of the License, or * 10 * the Free Software Foundation; either version 2 of the License, or *
11 * (at your option) any later version. * 11 * (at your option) any later version. *
12 ***************************************************************************/ 12 ***************************************************************************/
13#include <qpe/qpeapplication.h> 13#include <qpe/qpeapplication.h>
14 14
15 15
16 16
17#include "advancedfm.h" 17#include "advancedfm.h"
18 18
19#ifdef NOQUICKLAUNCH
19int main(int argc, char *argv[]) 20int main(int argc, char *argv[])
20{ 21{
21 QPEApplication a(argc, argv); 22 QPEApplication a(argc, argv);
22 23
23 AdvancedFm advencedFm; 24 AdvancedFm advencedFm;
24 a.showMainWidget( &advencedFm); 25 a.showMainWidget( &advencedFm);
25 return a.exec(); 26 return a.exec();
26} 27}
28#else
29#include <opie/oapplicationfactory.h>
27 30
31OPIE_EXPORT_APP( OApplicationFactory<AdvancedFm> )
32
33#endif