diff options
Diffstat (limited to 'src-qt5/core-utils/lumina-config/main.cpp')
-rw-r--r-- | src-qt5/core-utils/lumina-config/main.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src-qt5/core-utils/lumina-config/main.cpp b/src-qt5/core-utils/lumina-config/main.cpp index 8df7db48..e2c757a3 100644 --- a/src-qt5/core-utils/lumina-config/main.cpp +++ b/src-qt5/core-utils/lumina-config/main.cpp @@ -7,7 +7,7 @@ #include "mainWindow.h" #include <LuminaOS.h> -#include <LuminaUtils.h> +#include <LUtils.h> #include <LuminaThemes.h> #include <LuminaSingleApplication.h> #include <LuminaXDG.h> @@ -20,11 +20,12 @@ int main(int argc, char ** argv) LSingleApplication a(argc, argv, "lumina-config"); //loads translations inside constructor if(!a.isPrimaryProcess()){ return 0; } - LuminaThemeEngine theme(&a); - + //LuminaThemeEngine theme(&a); + QStringList args; + for(int i=1; i<argc; i++){ args << QString(argv[i]); } mainWindow w; - QObject::connect(&a, SIGNAL(InputsAvailable(QStringList)), &w, SLOT(slotSingleInstance()) ); - QObject::connect(&theme, SIGNAL(updateIcons()), &w, SLOT(setupIcons()) ); + QObject::connect(&a, SIGNAL(InputsAvailable(QStringList)), &w, SLOT(slotSingleInstance(QStringList)) ); + w.slotSingleInstance(args); w.show(); int retCode = a.exec(); |