Ignore:
Timestamp:
07/02/13 08:37:45 (15 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
796a591
Parents:
ab9281c
git-author:
Ken Moore <ken@…> (07/02/13 08:36:52)
git-committer:
Ken Moore <ken@…> (07/02/13 08:37:45)
Message:

Clean up the PCDM autostart functionality a bit, as well as the restart daemon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/PCDM/src/main.cpp

    r1620346 r6e8238f  
    2020 
    2121#define TMPLANGFILE QString("/tmp/.PCDMLang") 
     22#define TMPAUTOLOGINFILE QString("/tmp/.PCDMAutoLogin") 
    2223 
    2324//Make sure that prefix is set 
     
    3637  //Check for the flag to try and auto-login 
    3738  bool ALtriggered = FALSE; 
    38   if(QString(argv[1]) == "-AutoLogin"){ ALtriggered=TRUE; } 
     39  if(QFile::exists(TMPAUTOLOGINFILE)){ ALtriggered=TRUE; QFile::remove(TMPAUTOLOGINFILE); } 
    3940   
    4041  QString changeLang;  
Note: See TracChangeset for help on using the changeset viewer.