diff options
author | Jesse Smith <jessefrgsmith@yahoo.ca> | 2014-09-24 21:22:43 -0300 |
---|---|---|
committer | Jesse Smith <jessefrgsmith@yahoo.ca> | 2014-09-24 21:22:43 -0300 |
commit | 556040ae16579ff0ca360964bbb025e6b3bb1739 (patch) | |
tree | 0a8f7158000d15d8af70ecbd401475f0cc341100 /lumina-config/main.cpp | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | lumina-556040ae16579ff0ca360964bbb025e6b3bb1739.tar.gz lumina-556040ae16579ff0ca360964bbb025e6b3bb1739.tar.bz2 lumina-556040ae16579ff0ca360964bbb025e6b3bb1739.zip |
Added initial support for Debian/kFreeBSD. This patch has been tested
and shown to build/run on Debian/kFreeBSD, Ubuntu and PC-BSD.
Diffstat (limited to 'lumina-config/main.cpp')
-rw-r--r-- | lumina-config/main.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lumina-config/main.cpp b/lumina-config/main.cpp index c6525014..d1cb2004 100644 --- a/lumina-config/main.cpp +++ b/lumina-config/main.cpp @@ -1,9 +1,8 @@ #include <QTranslator> -#ifdef __linux - // #include <QtSolutions/qtsingleapplication.h> -#else + +#ifdef __FreeBSD__ #include <qtsingleapplication.h> -#endif // #ifdef __linux +#endif #include <QtGui/QApplication> #include <QDebug> #include <QFile> @@ -16,7 +15,7 @@ int main(int argc, char ** argv) { - #ifdef __linux + #ifndef __FreeBSD__ QApplication a(argc, argv); #else QtSingleApplication a(argc, argv); |