Changeset 021fffe1


Ignore:
Timestamp:
01/31/14 10:10:17 (8 months ago)
Author:
Kris Moore <kris@…>
Branches:
releng/10.0
Children:
0e9f798
Parents:
e7484af
Message:

Backport pcdm fix to 10.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/PCDM/src/pcdm-backend.cpp

    r709442e r021fffe1  
    307307void Backend::saveDefaultSysEnvironment(QString lang, QString keymodel, QString keylayout, QString keyvariant){ 
    308308  QFile file("/var/db/pcdm/defaultInputs"); 
     309  //Make sure the containing directory exists 
     310  if(!QFile::exists("/var/db/pcdm")){ 
     311    QDir dir; 
     312    dir.mkpath("/var/db/pcdm"); 
     313  } 
     314  //Now save the file 
    309315    if(file.open(QIODevice::WriteOnly | QIODevice::Text) ){ 
    310316      QTextStream out(&file); 
Note: See TracChangeset for help on using the changeset viewer.