Changeset 11d9290


Ignore:
Timestamp:
02/03/14 12:50:31 (8 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
e845994
Parents:
d22fc5d
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 r11d9290  
    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 r11d9290  
    2828#include <QString> 
    2929#include <QVector> 
     30#include <QDebug> 
    3031 
    3132//! Class that holds info about DE 
  • src-qt4/pc-controlpanel/mainwnd.cpp

    r9ad5c1d r11d9290  
    6363        mCurrentDE = *InstalledDEList.active(); 
    6464        mvEnabledDE.push_back(mCurrentDE.mName); 
     65        qDebug() << "Current DE: " << mCurrentDE.mName; 
    6566    }     
    6667 
     
    276277        if (!InstalledDEList.active()) 
    277278        { 
     279                qDebug() << "Unsupported DE"; 
    278280                ui->actionUnsupported->setText(Unsupported + Current); 
    279281                ui->DEChooserButton->setIcon(ui->actionUnsupported->icon()); 
    280282                ui->actionUnsupported->setVisible(true); 
     283        }else{ 
     284                qDebug() << "Supported DE"; 
     285                ui->actionUnsupported->setVisible(false); 
    281286        } 
    282         else 
    283                 ui->actionUnsupported->setVisible(false); 
    284287 
    285288        ui->DEChooserButton->setVisible(InstalledDEList.size()>1); 
Note: See TracChangeset for help on using the changeset viewer.