Ignore:
Timestamp:
11/05/13 10:50:08 (14 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, releng/10.1
Children:
9f1d893
Parents:
ef7d8db
Message:

Make sure Qt processes events when showing the logout/shutdown splashscreen in PCDM

File:
1 edited

Legend:

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

    r6449f61 r59dd136  
    142142  else{ desktop.waitForSessionClosed(); } 
    143143  splash.show(); //show the splash screen again 
    144   splash.showMessage(QObject::tr("System Shutting Down"), Qt::AlignHCenter | Qt::AlignBottom, Qt::white); 
     144  QCoreApplication::processEvents(); 
    145145  //check for shutdown process 
    146146  if(QFile::exists("/var/run/nologin")){ 
     147    splash.showMessage(QObject::tr("System Shutting Down"), Qt::AlignHCenter | Qt::AlignBottom, Qt::white); 
     148    QCoreApplication::processEvents(); 
    147149    //Pause for a few seconds to prevent starting a new session during a shutdown 
    148150    QTime wTime = QTime::currentTime().addSecs(30); 
Note: See TracChangeset for help on using the changeset viewer.