Changeset 18c4ab8


Ignore:
Timestamp:
Nov 7, 2013 10:09:00 AM (5 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
87b0318
Parents:
6019880
Message:

Fix compilation warnings for pc-controlpanel on 10.x

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

Legend:

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

    r1620346 r18c4ab8  
    5757                QCPItem* anItem = new QCPItem; 
    5858 
    59                 if (anItem->read(dir.absoluteFilePath(DirList[i]), vEnabledDE)) 
     59                if (anItem->readDE(dir.absoluteFilePath(DirList[i]), vEnabledDE)) 
    6060                { 
    6161                    if ((anItem->isSudoRequired() && (!EnableSudo)) 
  • src-qt4/pc-controlpanel/item.cpp

    r1620346 r18c4ab8  
    6060 
    6161/////////////////////////////////////////////////////////////////////////////// 
    62 bool QCPItem::read(QString FileName, const QVector<QString>& vEnabledDE) 
     62bool QCPItem::readDE(QString FileName, const QVector<QString>& vEnabledDE) 
    6363{ 
    6464    QString Str; 
  • src-qt4/pc-controlpanel/item.h

    r1620346 r18c4ab8  
    4646          * @return TRUE if success and item is visible 
    4747          */ 
    48         bool read(QString FileName, const QVector<QString>& vEnabledDE); 
     48        bool readDE(QString FileName, const QVector<QString>& vEnabledDE); 
    4949 
    5050        /** 
  • src-qt4/pc-controlpanel/mainwnd.cpp

    r7cc177e r18c4ab8  
    420420    QObject::connect(&mDirWatcher, SIGNAL(directoryChanged(const QString &)), 
    421421                     this, SLOT(onDirectoryChanged(const QString &))); 
     422    QString junk = path; //to get rid of compilation warning about unused variable 
    422423} 
    423424 
Note: See TracChangeset for help on using the changeset viewer.