Changeset db862e8


Ignore:
Timestamp:
02/05/14 06:30:41 (11 months ago)
Author:
Kris Moore <kris@…>
Branches:
releng/10.0
Children:
8c99505
Parents:
2f1bc81
git-author:
Ken Moore <ken@…> (02/03/14 12:50:31)
git-committer:
Kris Moore <kris@…> (02/05/14 06:30:41)
Message:

Enable a bit of debugging within the control panel.

Location:
src-qt4/pc-controlpanel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-controlpanel/deinfo.cpp

    r1620346 rdb862e8  
    6464    { 
    6565        Str = deinfo->readLine().simplified(); 
     66        //qDebug() << "de-info line:" << Str; 
    6667        if (Str.contains(DE_NAME)) 
    6768        { 
  • src-qt4/pc-controlpanel/deinfo.h

    r1620346 rdb862e8  
    2828#include <QString> 
    2929#include <QVector> 
     30#include <QDebug> 
    3031 
    3132//! Class that holds info about DE 
  • src-qt4/pc-controlpanel/mainwnd.cpp

    r4db4427 rdb862e8  
    6464        mCurrentDE = *InstalledDEList.active(); 
    6565        mvEnabledDE.push_back(mCurrentDE.mName); 
     66        qDebug() << "Current DE: " << mCurrentDE.mName; 
    6667    }     
    6768 
     
    281282        if (!InstalledDEList.active()) 
    282283        { 
     284                qDebug() << "Unsupported DE"; 
    283285                ui->actionUnsupported->setText(Unsupported + Current); 
    284286                ui->DEChooserButton->setIcon(ui->actionUnsupported->icon()); 
    285287                ui->actionUnsupported->setVisible(true); 
     288        }else{ 
     289                qDebug() << "Supported DE"; 
     290                ui->actionUnsupported->setVisible(false); 
    286291        } 
    287         else 
    288                 ui->actionUnsupported->setVisible(false); 
    289292 
    290293        ui->DEChooserButton->setVisible(InstalledDEList.size()>1); 
Note: See TracChangeset for help on using the changeset viewer.