Ignore:
Timestamp:
Jul 10, 2013 9:45:03 AM (12 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
1d2d46a, 4f9718b
Parents:
4018e43
Message:

Finish cleaning up the new shutdown procedure stuff for PCDM.

File:
1 edited

Legend:

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

    r4018e43 rb1457e5  
    5454  } 
    5555  splash.show(); 
     56  QCoreApplication::processEvents(); //Process the splash screen event immediately 
    5657  //qDebug() << "SplashScreen Started:" << QString::number(clock.elapsed())+" ms"; 
    5758  //Initialize the xprocess 
     
    123124  desktop.waitForSessionClosed(); 
    124125  splash.show(); //show the splash screen again 
    125   splash.showMessage(QObject::tr("System Shutting Down")); 
     126  splash.showMessage(QObject::tr("System Shutting Down"), Qt::AlignHCenter | Qt::AlignBottom, Qt::white); 
    126127  //check for shutdown process 
    127128  if(QFile::exists("/var/run/nologin")){ 
     
    158159  int retCode = runSingleSession(argc,argv); 
    159160  if(retCode != 0){ neverquit=FALSE; } 
    160   if( (retCode < 0) && QFile::exists("/var/run/nologin") ){  
    161     //Shutdown Process got hung up somewhere: force it now 
    162     //system("shutdown -p now"); 
    163   } 
    164161 } 
    165162 return 0; 
Note: See TracChangeset for help on using the changeset viewer.