Changeset a7474ab


Ignore:
Timestamp:
12/03/13 10:42:42 (8 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
4f9718b, 273a090
Parents:
6c5c258
Message:

Make sure that when running setxkbmap we only pass in the flags for values that are not empty

File:
1 edited

Legend:

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

    r14a2c02 ra7474ab  
    176176   QString prog; 
    177177   prog = "setxkbmap";  
    178    args << "-model" << model << "-layout" << layout << "-variant" << variant; 
     178   if(!model.isEmpty()){ args << "-model" << model; } 
     179   if(!layout.isEmpty()){ args << "-layout" << layout; } 
     180   if(!variant.isEmpty()){ args << "-variant" << variant; } 
    179181   Backend::log("setxkbmap: " + args.join(" ")); 
    180182   kbp.start(prog, args); 
Note: See TracChangeset for help on using the changeset viewer.