aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-06-26 12:54:37 -0400
committerKen Moore <ken@pcbsd.org>2015-06-26 12:54:37 -0400
commitb8f7fb742f32b6a1c1ac93e23fc89bfb868e877f (patch)
treea048f6454b7234fa821c23c94532e728c5429880 /lumina-desktop
parentAdd a new option in luminaDesktop.conf for auto-generating desktop icons/laun... (diff)
downloadlumina-b8f7fb742f32b6a1c1ac93e23fc89bfb868e877f.tar.gz
lumina-b8f7fb742f32b6a1c1ac93e23fc89bfb868e877f.tar.bz2
lumina-b8f7fb742f32b6a1c1ac93e23fc89bfb868e877f.zip
Some quick cleanup in the LSession.cpp file and update the port files
Diffstat (limited to 'lumina-desktop')
-rw-r--r--lumina-desktop/LSession.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp
index dfbd88b5..0d7e3808 100644
--- a/lumina-desktop/LSession.cpp
+++ b/lumina-desktop/LSession.cpp
@@ -241,36 +241,6 @@ void LSession::launchStartupApps(){
int tmp = LOS::ScreenBrightness();
LOS::setScreenBrightness( tmp );
qDebug() << " - - Screen Brightness:" << QString::number(tmp)+"%";
-
- //First create the list of all possible locations in order of precedence
- // NOTE: Lumina/system defaults should be launched earlier due to possible system admin utilities
- /*QStringList filelist;
- filelist << LOS::LuminaShare()+"startapps"; //anything special for the Lumina installation
- filelist << "/etc/luminaStartapps" << LOS::SysPrefix()+"luminaStartapps" << LOS::AppPrefix()+"luminaStartapps"; //System defaults
- filelist << QDir::homePath()+"/.lumina/startapps"; //User defaults
- filelist.removeDuplicates(); //just in case sysPrefix/appPrefix/etc are the same
- //Now load all the available files
- QStringList entries; //where to save good entries
- for(int i=0; i<filelist.length(); i++){
- if( !QFile::exists(filelist[i]) ){ continue; } //file does not exist
- QFile file(filelist[i]);
- if( file.open(QIODevice::ReadOnly | QIODevice::Text) ){
- QTextStream in(&file);
- while(!in.atEnd()){
- QString entry = in.readLine();
- if(entry.startsWith("#") || entry.isEmpty()){ continue; }
- entries << entry;
- }
- file.close();
- }
- }
- //Now start all the listed apps
- entries.removeDuplicates(); //Just in case something is duplicated between system/user defaults
- for(int i=0; i<entries.length(); i++){
- qDebug() << " - Starting Application:" << entries[i];
- LSession::LaunchApplication(entries[i]);
- LSession::processEvents();
- }*/
//Now get any XDG startup applications and launch them
QList<XDGDesktop> xdgapps = LXDG::findAutoStartFiles();
bgstack15