aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/main.cpp
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2016-12-14 21:52:08 +0000
committerWeblate <noreply@weblate.org>2016-12-14 21:52:08 +0000
commitf274dd0526568b50e113baa85fcb26a87575eed9 (patch)
treecabcdb147e5dbf2cbe4c321c5ad59963c40c3e89 /src-qt5/core-utils/lumina-config/main.cpp
parentTranslated using Weblate (lumina_CONFIG@sl (generated)) (diff)
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-f274dd0526568b50e113baa85fcb26a87575eed9.tar.gz
lumina-f274dd0526568b50e113baa85fcb26a87575eed9.tar.bz2
lumina-f274dd0526568b50e113baa85fcb26a87575eed9.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/core-utils/lumina-config/main.cpp')
-rw-r--r--src-qt5/core-utils/lumina-config/main.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/src-qt5/core-utils/lumina-config/main.cpp b/src-qt5/core-utils/lumina-config/main.cpp
index 856570c0..e2c757a3 100644
--- a/src-qt5/core-utils/lumina-config/main.cpp
+++ b/src-qt5/core-utils/lumina-config/main.cpp
@@ -7,9 +7,12 @@
#include "mainWindow.h"
#include <LuminaOS.h>
-#include <LuminaUtils.h>
+#include <LUtils.h>
#include <LuminaThemes.h>
#include <LuminaSingleApplication.h>
+#include <LuminaXDG.h>
+
+XDGDesktopList *APPSLIST = 0;
int main(int argc, char ** argv)
{
@@ -17,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();
bgstack15