aboutsummaryrefslogtreecommitdiff
path: root/lumina-fm/main.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-08-18 10:34:24 -0400
committerKen Moore <moorekou@gmail.com>2015-08-18 10:34:24 -0400
commitbe7850a7e808e48cf7ddcdf6f6bc9f80c0d5c331 (patch)
tree73cf77e14ddd6d00da0ca6a009545d649fde39cf /lumina-fm/main.cpp
parentMerge branch 'master' of github.com:pcbsd/lumina (diff)
downloadlumina-be7850a7e808e48cf7ddcdf6f6bc9f80c0d5c331.tar.gz
lumina-be7850a7e808e48cf7ddcdf6f6bc9f80c0d5c331.tar.bz2
lumina-be7850a7e808e48cf7ddcdf6f6bc9f80c0d5c331.zip
Update the lumina theme engine/class so that custom environment variables may be set/loaded for all apps using the theme engine (including the session - which propagates to new non-lumina applications as well)
Diffstat (limited to 'lumina-fm/main.cpp')
-rw-r--r--lumina-fm/main.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/lumina-fm/main.cpp b/lumina-fm/main.cpp
index e3b475f1..b05c4016 100644
--- a/lumina-fm/main.cpp
+++ b/lumina-fm/main.cpp
@@ -11,19 +11,7 @@
int main(int argc, char ** argv)
{
- /*QStringList in;
- for(int i=1; i<argc; i++){ //skip the first arg (app binary)
- QString path = argv[i];
- if(path=="."){
- //Insert the current working directory
- in << QDir::currentPath();
- }else{
- if(!path.startsWith("/")){ path.prepend(QDir::currentPath()+"/"); }
- in << path;
- }
- }
- if(in.isEmpty()){ in << QDir::homePath(); }*/
-
+ LTHEME::LoadCustomEnvSettings();
LSingleApplication a(argc, argv, "lumina-fm"); //loads translations inside constructor
if( !a.isPrimaryProcess()){ return 0; }
qDebug() << "Loaded QApplication";
bgstack15