Revert "Changed the old code to work as a daemon"
[googlelatitude] / src / settings / main.cpp
diff --git a/src/settings/main.cpp b/src/settings/main.cpp
deleted file mode 100644 (file)
index 6a0cb8c..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <QApplication>
-
-#include "settings.h"
-
-int main(int argc, char *argv[]) {
-    QApplication app(argc, argv);
-    QCoreApplication::setOrganizationName("linfati");
-    QCoreApplication::setOrganizationDomain("linfati.com");
-    QCoreApplication::setApplicationName("GoogleLatitude");
-
-    Settings *settings = new Settings();
-    settings->setWindowModality(Qt::ApplicationModal);
-    settings->show();
-
-    return app.exec();
-}
-
-/*
- TODO:
- on auth error -> stop gps
- on new pos, only set it
- send new pos every 120s, only if is diferent
- no n900 -> por ip
- */
-