mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
plasma: log debug messages when startup is suspended, resumed and when next phase starts
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
3e5dfaa22b
commit
505e6218a4
1 changed files with 4 additions and 1 deletions
|
@ -958,11 +958,13 @@ void PlasmaApp::suspendStartup(const QString &app)
|
|||
{
|
||||
// TODO: timeout for suspending
|
||||
m_startupsuspend++;
|
||||
kDebug() << "startup suspended by" << app;
|
||||
}
|
||||
|
||||
void PlasmaApp::resumeStartup(const QString &app)
|
||||
{
|
||||
m_startupsuspend--;
|
||||
kDebug() << "startup resumed by" << app;
|
||||
}
|
||||
|
||||
void PlasmaApp::logout(int confirm, int sdtype)
|
||||
|
@ -1010,7 +1012,7 @@ void PlasmaApp::cleanup()
|
|||
m_klauncher = nullptr;
|
||||
}
|
||||
|
||||
if (m_wmproc && m_wmproc->state() != QProcess::NotRunning) {
|
||||
if (m_wmproc) {
|
||||
m_wmproc->kill();
|
||||
m_wmproc->waitForFinished();
|
||||
m_wmproc->deleteLater();
|
||||
|
@ -1021,6 +1023,7 @@ void PlasmaApp::cleanup()
|
|||
void PlasmaApp::nextPhase()
|
||||
{
|
||||
if (m_startupsuspend <= 0){
|
||||
kDebug() << "next startup phase" << m_phase;
|
||||
switch (m_phase) {
|
||||
case 0: {
|
||||
static const QString kdedInterface = QString::fromLatin1("org.kde.kded");
|
||||
|
|
Loading…
Add table
Reference in a new issue