#include #include #include #include #include "mainWindow.h" #include #include #include #include int main(int argc, char ** argv) { LTHEME::LoadCustomEnvSettings(); LSingleApplication a(argc, argv, "lumina-config"); //loads translations inside constructor if(!a.isPrimaryProcess()){ return 0; } LuminaThemeEngine theme(&a); mainWindow w; QObject::connect(&a, SIGNAL(InputsAvailable(QStringList)), &w, SLOT(slotSingleInstance()) ); QObject::connect(&theme, SIGNAL(updateIcons()), &w, SLOT(setupIcons()) ); w.show(); int retCode = a.exec(); return retCode; }