forked from nemomobile/ssu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
33 lines (27 loc) · 933 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
* @file main.cpp
* @copyright 2012 Jolla Ltd.
* @author Bernd Wachter <[email protected]>
* @date 2012
*/
#include <QCoreApplication>
#include <QTranslator>
#include <QLocale>
#include <QLibraryInfo>
#include <QTimer>
//#include <connman-qt5/connmannetworkproxyfactory.h>
#include "rndssucli.h"
int main(int argc, char** argv){
QCoreApplication app(argc, argv);
QCoreApplication::setOrganizationName("Jolla");
QCoreApplication::setOrganizationDomain("http://www.jollamobile.com");
QCoreApplication::setApplicationName("rndssu");
QTranslator qtTranslator;
qtTranslator.load("qt_" + QLocale::system().name(),
QLibraryInfo::location(QLibraryInfo::TranslationsPath));
app.installTranslator(&qtTranslator);
// QNetworkProxyFactory::setApplicationProxyFactory(new ConnmanNetworkProxyFactory);
RndSsuCli mw;
QTimer::singleShot(0, &mw, SLOT(run()));
return app.exec();
}