Changeset 8806d4d


Ignore:
Timestamp:
05/13/15 06:10:05 (7 weeks ago)
Author:
Kris Moore <kris@…>
Branches:
master
Children:
254ee66
Parents:
2fc582e
Message:

Fix a bug when parsing some services that use $ variables for their
name / tag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt5/pc-servicemanager/servicemanager.cpp

    red00cac r8806d4d  
    298298                  if ( ! wDir.isEmpty() ) 
    299299                    cDir.replace(wDir, ""); 
     300                  if ( ServiceTag.indexOf("$") == 0 ) 
     301                        ServiceTag = ServiceDir + "_enable"; 
     302                  if ( ServiceName.indexOf("$") == 0 ) 
     303                        ServiceName = ServiceDir; 
     304 
    300305                  cols << cDir + "/" + ServiceDir << ServiceTag << ServiceName << tr("Unknown") << tr("Unknown"); 
    301306                  (void) new QTreeWidgetItem(listServices, cols ); 
Note: See TracChangeset for help on using the changeset viewer.