Ignore:
Timestamp:
02/27/14 08:53:55 (8 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
5eaf60c
Parents:
97252e15
Message:

Add an auto-login delay function for PCDM that defaults to 10 seconds. This will pop-up a window giving the user the specified amount of time to either cancel the auto-login or immediately continue on.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/PCDM/src/pcdm-config.cpp

    red87765 r28c79ad  
    2424  confStruct << "/usr/local/share/PCDM/images/default-splash.png"; // [7] Splash Screen File 
    2525  confStruct << "TRUE";                                 // [8] Password view button enabled 
     26  confStruct << "10";                                           // [9] Auto-login delay (seconds) 
    2627  return; 
    2728} 
     
    5455      else if(var=="SPLASHSCREEN_FILE"){ confStruct[7] = val; } 
    5556      else if(var=="ENABLE_VIEW_PASSWORD_BUTTON"){ confStruct[8] = val; } 
     57      else if(var=="AUTO_LOGIN_DELAY"){ confStruct[9] = val; } 
    5658      else{} 
    5759       
     
    102104} 
    103105 
     106int Config::autoLoginDelay(){ 
     107  return confStruct[9].toInt();  
     108} 
     109 
    104110QString Config::splashscreen(){ 
    105111  return confStruct[7];  
Note: See TracChangeset for help on using the changeset viewer.