X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmain-daemon.cpp;fp=src%2Fmain-daemon.cpp;h=0000000000000000000000000000000000000000;hb=acfccb1f63dd621809581c09b3f9690e3b2e50f2;hp=6007c60c9058dbceba928c19a43838095ec68e5e;hpb=f66076c2991b0519cde383b2d09167333d55f5d6;p=googlelatitude diff --git a/src/main-daemon.cpp b/src/main-daemon.cpp deleted file mode 100644 index 6007c60..0000000 --- a/src/main-daemon.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "daemon.h" - -int main(int argc, char *argv[]) { - QCoreApplication::setOrganizationName("linfati"); - QCoreApplication::setOrganizationDomain("linfati.com"); - QCoreApplication::setApplicationName("GoogleLatitude"); - - QCoreApplication app(argc, argv); - - if ( app.arguments().contains(QString("--init")) ) { - QSettings set; - if ( ! set.value("daemon",false).toBool() ) { - qDebug() << "No Daemon mode enable"; - return 0; - } - } - - Daemon demonio; - Q_UNUSED(demonio); - - return app.exec(); -}