2018-11-02 20:01:19 +01:00
|
|
|
#include "common/config.h"
|
2020-05-20 21:00:36 +02:00
|
|
|
#ifdef ENABLE_TIMEZONES
|
|
|
|
#include "GUI/timezoneinfo.h"
|
|
|
|
#endif // ENABLE_TIMEZONES
|
2017-11-26 18:54:03 +01:00
|
|
|
#include "GUI/app.h"
|
2015-10-05 01:43:48 +02:00
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
2018-08-18 21:06:36 +02:00
|
|
|
#ifdef ENABLE_HIDPI
|
|
|
|
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
|
|
|
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
|
|
|
#endif // ENABLE_HIDPI
|
2020-05-20 21:00:36 +02:00
|
|
|
#ifdef ENABLE_TIMEZONES
|
|
|
|
qRegisterMetaTypeStreamOperators<TimeZoneInfo>("TimeZoneInfo");
|
|
|
|
#endif // ENABLE_TIMEZONES
|
2018-08-18 21:06:36 +02:00
|
|
|
|
2016-04-29 21:13:38 +02:00
|
|
|
App app(argc, argv);
|
2018-11-02 20:01:19 +01:00
|
|
|
return app.run();
|
2015-10-05 01:43:48 +02:00
|
|
|
}
|