diff options
author | Ken Moore <moorekou@gmail.com> | 2015-08-18 10:34:24 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-08-18 10:34:24 -0400 |
commit | be7850a7e808e48cf7ddcdf6f6bc9f80c0d5c331 (patch) | |
tree | 73cf77e14ddd6d00da0ca6a009545d649fde39cf /lumina-fm/main.cpp | |
parent | Merge branch 'master' of github.com:pcbsd/lumina (diff) | |
download | lumina-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.cpp | 14 |
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"; |