diff options
Diffstat (limited to 'src-qt5/core-utils/lumina-config/main.cpp')
-rw-r--r-- | src-qt5/core-utils/lumina-config/main.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src-qt5/core-utils/lumina-config/main.cpp b/src-qt5/core-utils/lumina-config/main.cpp index 27493bac..e2c757a3 100644 --- a/src-qt5/core-utils/lumina-config/main.cpp +++ b/src-qt5/core-utils/lumina-config/main.cpp @@ -21,10 +21,11 @@ int main(int argc, char ** argv) if(!a.isPrimaryProcess()){ return 0; } //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(); |