From 556040ae16579ff0ca360964bbb025e6b3bb1739 Mon Sep 17 00:00:00 2001 From: Jesse Smith Date: Wed, 24 Sep 2014 21:22:43 -0300 Subject: Added initial support for Debian/kFreeBSD. This patch has been tested and shown to build/run on Debian/kFreeBSD, Ubuntu and PC-BSD. --- lumina-fm/main.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'lumina-fm/main.cpp') diff --git a/lumina-fm/main.cpp b/lumina-fm/main.cpp index d15a81d3..4c23366a 100644 --- a/lumina-fm/main.cpp +++ b/lumina-fm/main.cpp @@ -1,9 +1,7 @@ #include -#ifdef __linux - // #include -#else +#ifdef __FreeBSD__ #include -#endif // #ifdef __linux +#endif #include #include #include @@ -22,13 +20,13 @@ int main(int argc, char ** argv) in << QString(argv[i]); } if(in.isEmpty()){ in << QDir::homePath(); } - #ifdef __linux - QApplication a(argc, argv); - #else + #ifdef __FreeBSD__ QtSingleApplication a(argc, argv); if( a.isRunning() ){ return !(a.sendMessage(in.join("\n"))); } + #else + QApplication a(argc, argv); #endif a.setApplicationName("Insight File Manager"); //Load current Locale -- cgit